Convert string chars to decimal unicode (5 digits)
Install
Install all functions of strman
yarn add strman
or just the decEncode function
yarn add strman.decencode
Usage
import { decEncode } from 'strman'
// OR
import decEncode from 'strman.decencode'
Parameters:
Name | Type | Description |
---|---|---|
value |
String | Value to encode |
- Source:
Returns:
String in decimal format.
- Type
- String
Example
decEncode('strman')
// => '001150011600114001090009700110'