@maxslimb/next-permutation

1.0.1 • Public • Published

next-permutation-package

Intro

next_permutation is a function of full permutation, which can receive a string s, and can return the next string in the permutation (if it has reached the last permutation, it will return the last one)

Install

npm i @maxslimb/next-permutation

Usage

const NextPermutation = require('next-permutation')
 
let Str = '125'
let res = NextPermutation(Str)
console.log(res) 

Readme

Keywords

Package Sidebar

Install

npm i @maxslimb/next-permutation

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

2.09 kB

Total Files

4

Last publish

Collaborators

  • maxslimb