npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

my-own-words

v1.0.0

Published

A small tool that I have created to keep safe all those words/expressions that I come across when I'm learning a new language

Downloads

33

Readme

my-own-words

This is a small tool that I have created to keep safe all those words/expressions that I come across when I'm learning a new language. Hopefully, it will help you too.

Some things it allows you to do are:

  • Create as many lists as you want.
  • Save as many words or expressions as you want.
  • Delete lists, words or expressions and definitions.
  • And some other things and many others that are missing but I will try to add as soon as possible.

my-own-words also cares about you and:

  • It won't duplicate your lists.
  • Will not duplicate your words or expressions.
  • It won't duplicate your word definitions.

Installation

npm dance

npm install -g my-own-words

yarn vals

yarn global add my-own-words

Usage

Attention: The lists are created in a directory within your home directory with a .json format and for the moment all words and their definitions are sorted alphabetically by default.

add

my-own-words -l 'italian' -w 'Ciao' -d 'Hi'

As you can see, the add command receives three parameters:

  • -l or --list: name of the list where you want to add a new word. If the list does not exist, it is created.
  • -w or --word: word or expression you want to add.
  • -d or --definition: definition of the word or expression you want to add.

To add a new definition to a word simply add the word with the new definition again.

list

my-own-words list

If the list command does not receive any parameters, it prints a list of available lists in the console.

If you want to list the words or expressions in a list you must include the parameter -l or --list with the list name (Just as described above, in the add command).

remove

my-own-words remove -l 'italian' -w 'Ciao' -d 'Hi'

Depending on the parameters the command receives, it will do the following:

  • If it receive only the name of a list ( with -l or --list), it will completely delete this list if it exists.
  • If it receive a word (should therefore also receive the name of a list), it will delete that word or expressions and its definitions.
  • If it receive a definition (need to receive the other two parameters listed above), it will remove that definition from the selected word or expression.

new

my-own-words new -l 'spanish'

Creates a new list with the specified name (with -l or --list).

print

my-own-words print -l 'italian'

Creates a Markdown file from the specified list (-l or --list) in the same directory as the other lists.

In the future I'll add more format options

help

Due to Yargs, all commands have --help or -h available.


Thanks for stopping by. If you have any questions, want to help or simply want to make a comment or report any error let me know.