Skip to content

v.2.0.1

Latest
Compare
Choose a tag to compare
@ThePlatinum ThePlatinum released this 28 Jan 01:07

Breaking Change

The package now produces a promise that resolves to the result. You should use it as such in your code to await the result.

How to use

import permutate from 'english-permutation'

console.log(await permutate('ABS'));

# result will be a promise that resolves to an array:
[ 'ABS', 'BAS', 'SAB' ]

Full Changelog: v1.0.0...v.2.0.1