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

tycon

v2.5.1

Published

Node.js console typing test. Easy, Med, & Hard Difficulties, Speed graph, Shortcuts

Downloads

27

Readme

Typing Test + Console

Node.js console typing test. Easy, Med, & Hard Difficulties, Speed graph, Shortcuts
npmjs.com/package/tycon

tycon recording

Run From NPM

  1. Install NodeJS

  2. Install Tycon

$ sudo npm i tycon -g
  1. Run
$ tycon

Menu Options

  • Test Mode: basic, sentence
  • Test Length (seconds): 10, 30, 60, 120, 180

Additional Test Settings.. y/N

  • Difficulty (basic mode only): easy, med, hard
  • Require Correct Word (don't skip on incorrect): y/N
  • Colourblind Mode (blue/green): y/N
  • Randomly Capitalize First Letter (scales with difficulty): y/N

Features

  • Basic Mode: Randomly selected words from 3 difficulties.
  • Sentence Mode: Paragraphs from popular books, including capitalization and punctuation.
  • Restarting Test: ^R Is used to start/re-start a test. Can be used while test is running (will re-random sentence selection)
  • Word Deletion: Ctrl + Backspace is used to delete a typed word. Shift + Home is not supported, nor is Ctrl + W (for Unixers), though I'm considering it.
  • Speed Graph: Every 2 seconds, your average WPM (up to that point) is calculated
  • Custom Text: tycon -f </path/file.txt>

To-Do

  • Support custom word lists from file (validate format, and navigate directories to locate. launch flag -f and file path)
  • Support numbers (keypress just gives undefined for data)
  • % incorrect by each character, not just incorrect words, and backspaces
  • Display random typing tips
  • Add random punctuation mode (insert punctuation, and reformat text, like hyphens w/o space, caps after period, etc.)
  • Re-do intervaled avg to average in segments, instead of over progress of the test (so chart is more relevant)
  • Record local lifetime stats
  • Launch parameters to define settings
  • User config (settings) file support
  • Record time between all keypresses for consistency data, & display in graph

Text Excerpts

  • The Fellowship of the Ring, J.R.R Tolkein
  • Harry Potter and the Chamber of Secrets, J.K. Rowling
  • Anna Karenina, Leo Tolstoy
  • The Eye of the World, Robert Jordan
  • Animal Farm, George Orwell
  • The Hitchhiker's Guide to the Galaxy, Douglas Adams
  • The Name of the Wind, Patrick Rothfuss
  • Romeo and Juliet, William Shakespeare
  • Charlie and the Chocolate Factory, Roald Dahl
  • Kidnapped, Robert Louis Stevenson
  • The Secret Garden, Frances Hodgson Burnett

Bugs

  • No option to retain "file" mode, from launch, after entering sub-settings menu

Issues?

  1. Tycon not recognized command (Windows), when trying to launch
    Probably a path var issue with node. Add npm path to your environment variables & restart terminal. Link

More

website: nicfontaine.com
twitter: @ngpfontaine

License

Buy it, use it, break it, fix it, trash it, change it, mail, upgrade it. ;v