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

word-snatchers-cli

v3.1.1

Published

A console game which target is unscramble the letters to spell out a word fitting the given definition

Downloads

30

Readme

word-snatchers-cli NPM version

A console game which target is unscramble the letters to spell out a word fitting the given definition.

Installation

$ npm install --global word-snatchers-cli

or

$ yarn global add word-snatchers-cli

Usage

Run a game with default set of questions:

$ word-snatchers-cli

or

$ wsc

or

$ words-game

You can provide another json file that contains question items by passing an appropriate option:

$ words-game --file my/custom/questions.json

In order to run several game rounds you can use the --suite flag:

$ words-game --suite

There is the --suite-folder flag to provide a folder to use another set of questions at once (rounds) from all json files located in a specified folder:

$ words-game --suite --suite-folder "C:\baz"

In order to run only specific round (from specified file) you can use the --suite-item option:

$ words-game --suite --suite-folder "C:\baz" --suite-item="first.json"

You can also omit the .json extension:

$ words-game --suite --suite-folder "C:\baz" --suite-item="first"

Use a plugin by providing the --plugin option:

$ words-game --plugin word-snatchers-cli-fruits-plugin

If a plugin has several rounds you can run a specified round by using the --round-number option:

$ words-game --plugin word-snatchers-cli-stationery-and-office-supplies-plugin --round-number 2

Besides above sources, you can also use a http resource as a source of questions:

words-game --http https://gist.githubusercontent.com/akgondber/39eb9d89891a709c4c543a55f2c5a5bf/raw/af8b0f847841b9b305033bcb031c9cf366b8d852/word-snatchers-cli-animals-source.json

If a source have several rounds you can run a specified round:

words-game --http https://gist.githubusercontent.com/akgondber/0317e3349c04ea0943ba14215f033392/raw/e80ea08b8d6e4fe1bacec736fd31a53534591336/word-snatchers-cli-common-words.json --round-number 2

To specify how long to display each answer in summary when game was finished (in seconds, default value is 7):

$ words-game --answer-display-time=9

Train your english (though this program can be used to learn another languages too) and expand your vocabulary!

Plugins

Some available plugins:

Please see an appropriate page for more details.

Sources

There is a possibility to run a game from a http source. You can use the --http option in this case: provide an appropriate http link as a source of questions.

Some available http sources:

Please see a sources page in the documentation for more details.

License

MIT © Rushan Alyautdinov