JSPM

alphabet

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1598
  • Score
    100M100P100Q123290F
  • License

The english alphabet as a string or array, upper and lowercase.

Package Exports

  • alphabet

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (alphabet) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

alphabet NPM version

The english alphabet as a string or array, upper and lowercase.

Why? I've typed out the alphabet to do indexOf() one too many times, for apps, unit tests etc.

Install with npm

npm i alphabet --save

Run tests

npm test

Usage

var alphabet = require('alphabet');

console.log(alphabet.join(''));
//=> [ 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' ]

console.log(alphabet.lower.join(''));
//=> [ 'abcdefghijklmnopqrstuvwxyz' ]

console.log(alphabet.upper.join(''));
//=> [ 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ]

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert
Released under the MIT license


This file was generated by verb on December 31, 2014.