Skip to content

bbaliguet/permutations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

permutations

Permutation utils. Get all permutations on element of a list, get a generator for these permutations.

Getting Started

Download the production version or the development version.

In your web page:

<script src="dist/permutations.min.js"></script>
<script>
permutations.all([1,2],3);
</script>

Documentation

.all(elements, size)

.generator(elements, size)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Also, please don't edit files in the "dist" subdirectory as they are generated via Grunt. You'll find source code in the "lib" subdirectory!

Release History

(Nothing yet)

License

Copyright (c) 2014 Benoît Baliguet
Licensed under the MIT license.

About

Permutation util for javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published