permute

1.0.0 • Public • Published

PERMUTE

A tiny library to permutate a sequence.

USAGE

var permute = require('permute'); var seq = [2,3,5,7,11,13,17,19]; while (permute(seq)) console.log(seq); // Prints 40,319 permutations.

PERFORMANCE

Acceptable. About 5.5 to 6 times slower than hand-crafted C++ code.

KNOWN BUGS

None.

LICENSE

ISC (BSD-like). See the LICENSE file for details.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    5

Package Sidebar

Install

npm i permute

Weekly Downloads

5

Version

1.0.0

License

ISC

Last publish

Collaborators

  • bnoordhuis