sort-string
Sorts a string alphanumerically.
Node Repository
https://www.npmjs.com/package/@pelevesque/sort-string
Installation
npm install @pelevesque/sort-string
Tests
Command | Description |
---|---|
npm test or npm run test
|
All Tests Below |
npm run cover |
Standard Style |
npm run standard |
Coverage |
npm run unit |
Unit Tests |
Usage
const sortString = require('@pelevesque/sort-string')
const str = '321bca321'
const result = sortString(str)
// result === '112233abc'