get-permutations-observable

Get permutations one by one

Usage no npm install needed!

<script type="module">
  import getPermutationsObservable from 'https://cdn.skypack.dev/get-permutations-observable';
</script>

README

get-permutations-observable

Build Status

Installation

npm install get-permutations-observable --save

Syntax

import getPermutationsObservable from 'get-permutations-observable'
const permutations = getPermutationsObservable([1,0,1]);
permutations.subscribe((permutation) => {
  console.log(permutation);
});

Tests

npm test

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.

Release History

  • 1.0.0 First release