UNPKG
@paydirt/fmt
Version:
latest (0.3.1)
next (0.4.0-rc.0)
0.4.0-rc.0
0.3.1
0.3.0
0.2.2
0.2.1
0.2.1-rc.3
String formating using commonly used standards
github.com/carlcalderon/fmt
carlcalderon/fmt
@paydirt/fmt
/
lib
/
bundle
/
replacers
/
char.js
5 lines
(4 loc)
•
162 B
JavaScript
View Raw
1
2
3
4
5
import
stringReplacer
from
'./string'
;
export
default
function
(
_, mods, value
) {
return
stringReplacer
(
's'
, mods,
String
.
fromCharCode
(
Math
.
floor
(value))); }