JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25
  • Score
    100M100P100Q67583F
  • License MIT

A small, pointless function which returns a string shuffled randomly.'

Package Exports

  • wordscramble

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 (wordscramble) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

wordsramble

wordscramble is a completely pointless Node package which you shouldn't install. The only thing wordscramble does is reorder common JavaSCript values. This is a is-thirteen level of uselessness.

wordscramble, on the other hand, is reaonably robust against whatever random crap you throw at it, and it does some cool stuff with recursion to get the job done.

Badges

Look at all the shiny badges! Badges mean quality and wordscramble has six quality. Look at them! Look at them! :)

Build Status Dependency Status devDependency Status npm version

forthebadge forthebadge

Installation

npm install wordscramble

Usage

var scramble = require('wordscramble');
scramble(true); // false
scramble(0.123131231); // 11.32233110
scramble('heighliner'); // glhenehrii
scramble({atreides: 'Caladan', corinno: 'Kaitain'}); //{ atreides: 'ladnaCa', corinno: 'anaiKit' }
scramble(['Atreides', 'Harkonnen', 'Corrino', 'Ginaz']); // [ 'oeannHnkr', 'znaGi', 'estrAedi', 'roirnoC' ]

Testing

wordscramble boasts 100% test coverage. To verify:

npm test

Contributing

Go wild! All pull requests are welcome.

License

The code is available under the MIT license.

FAQ

Why?

Teeling Single Malt.

Okay...

Yeah, look. Like, it was my birthday this weekend and I was gifted a bottle of whiskey. First I drank the whiskey and then I wrote this.

What's with all the Dune references?

I'm an unasahmed fanboy.

TODO

  • Add cryptographically-secure random number generation.