Home / npm packages / y18n

y18n source code

Every file of y18n@5.0.8 as published on npm: 9 files, 23 KB. Search them by exact text or regex, in milliseconds.

It uses: the fs module.

What y18n uses

APIIn y18n
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
NoWho does
process.env
reads environment variables
NoWho does
the fs module
reads and writes files
Yes: 2 files
e.g. build/index.cjs
See the lines
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
NoWho does
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
build/index.cjs6.8 KB
build/lib/index.js6.3 KB
CHANGELOG.md3.9 KB
README.md3.2 KB
package.json1.8 KB
LICENSE731 B
build/lib/platform-shims/node.js377 B
build/lib/cjs.js192 B
index.mjs183 B

Questions

How many files are in y18n?

Version 5.0.8 of y18n publishes 9 files of source, 23 KB in all, not counting images, fonts and source maps.

Does y18n use eval?

No: y18n doesn't call eval() anywhere in its published files.

Does y18n start other programs?

No: y18n doesn't use child_process anywhere in its published files.

Does y18n run an install script?

No: y18n has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine