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

letterset

v0.0.3

Published

Work with all letters used in latin, european, greek and cyrillic alphabets.

Downloads

2

Readme

letterset

Work with all letters used in latin, european, greek and cyrillic alphabets.

Build Status Coverage Status

Note: This is work in progress. Pull requests are welcomed if you would like to help extend the letter range to include any unsupported language(s).

Install

$ npm install --save letterset

Usage Examples

const letterset = require('letterset');

Check if a character is a letter:

letterset.isLetter('a');
//=> true

letterset.isLetter('?');
//=> false

Get all supported letter characters in an array:

letterset.allCharacters();
//=> ["A","a","B","b","C","c","D","d","E","e","F","f","G","g","H","h","I","i","J","j","K","k","L","l","M","m","N","n","O","o","P","p","Q","q","R","r","S","s","T","t","U","u","V","v","W","w","X","x","Y","y","Z","z","İ","ı","Ö","ö","Ü","ü","Ç","ç","Ğ","ğ","Ş","ş","Á","á","É","é","Í","í","Ñ","ñ","Ó","ó","Ú","ú","А","а","Б","б","В","в","Г","г","Д","д","Е","е","Ж","ж","З","з","И","и","Й","й","К","к","Л","л","М","м","Н","н","О","о","П","п","Р","р","С","с","Т","т","У","у","Ф","ф","Х","х","Ц","ц","Ч","ч","Ш","ш","Щ","щ","Ъ","ъ","Ы","ы","Ь","ь","Э","э","Ю","ю","Я","я","Ă","ă","Â","â","Î","î","Ș","ș","Ț","ț","Ţ","ţ","Ą","ą","Ę","ę","Ć","ć","Ł","ł","Ń","ń","Ś","ś","Ź","ź","Ż","ż","À","à","Ã","ã","Ä","ä","Å","å","Æ","æ","È","è","Ê","ê","Ë","ë","ƒ","Ì","ì","Ï","ï","Ò","ò","Ô","ô","Õ","õ","Ø","ø","Š","š","ß","Ù","ù","Û","û","Ÿ","ÿ","Ý","ý","Ž","ž","Œ","œ","Ð","Þ","ð","þ","Ē","ē","Ī","ī","Ō","ō","Ū","ū","Α","α","Β","β","Γ","γ","Δ","δ","Ε","ε","Ζ","ζ","Η","η","Θ","θ","Ι","ι","Κ","κ","Λ","λ","Μ","μ","Ν","ν","Ξ","ξ","Ο","ο","Π","π","Ρ","ρ","Σ","σ","ς","Τ","τ","Υ","υ","Φ","φ","Χ","χ","Ψ","ψ","Ω","ω","Ě","ě","Ů","ů","Č","č","ď","ť","Ĺ","ĺ","Ň","ň","Ŕ","ŕ","Ř","ř"]

Get the Hexadecimal of a character:

letterset.hex('A'); 
//=> 0x41

Get the Decimal of a character:

letterset.decimal('A');
//=> 65

Get the name of a character:

letterset.name('Œ');
//=> 'LATIN CAPITAL LIGATURE O');

License

MIT © Michael Wuergler