Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 371 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 371 Bytes

View on StackOverflow

You can install permutated

Installing

$ npm install permutated

Usage

const permutated = require('permutated');

(async () => {
    console.log(await permutated('abc'));
	//=> [ 'abc', 'acb', 'bac', 'bca', 'cab', 'cba' ]
})();