UNPKG
y18n
Version:
engines-test (6.0.0-alpha.0)
latest (5.0.8)
latest-3 (3.2.2)
latest-4 (4.0.3)
next (4.0.0)
6.0.0-alpha.0
5.0.8
5.0.7
5.0.6
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.0.3
4.0.2
4.0.1
4.0.0
3.2.2
3.2.1
3.2.0
3.1.0
3.0.0
2.0.0
1.1.0
1.0.0
the bare-bones internationalization library used by yargs
github.com/yargs/y18n
yargs/y18n
y18n
/
index.mjs
9 lines
(6 loc)
•
183 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
shim
from
'./build/lib/platform-shims/node.js'
import
{ y18n
as
_y18n }
from
'./build/lib/index.js'
const
y18n
= (
opts
) => {
return
_y18n
(opts, shim) }
export
default
y18n