Home / npm packages / ejs
Every file of ejs@7.0.1 as published on npm: 16 files, 214 KB. Search them by exact text or regex, in milliseconds.
It uses: new Function(), child_process, process.env, the fs module.
| API | In ejs | |
|---|---|---|
| eval() runs a string as JavaScript | No | Who does |
| new Function() builds a function from a string, like eval (with or without new) | Yes: 4 files e.g. ejs.js | See the lines |
| child_process starts other programs | Yes: 1 file e.g. jakefile.js | See the lines |
| process.env reads environment variables | Yes: 2 files e.g. ejs.js | See the lines |
| the fs module reads and writes files | Yes: 6 files e.g. bin/cli.js | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | No | Who does |
| fetch() makes HTTP requests | No | Who does |
| XMLHttpRequest makes HTTP requests the old browser way | No | Who does |
| crypto hashes, encrypts or makes random numbers | No | Who does |
| WebAssembly loads WebAssembly code | No | Who does |
| document.cookie reads or writes browser cookies | No | Who does |
| install scripts runs a script when it's installed | No | Who does |
Exact matches in the published files, so a mention in a comment counts too: open the lines to check.
| File | Size |
|---|---|
ejs.js | 59 KB |
lib/cjs/ejs.js | 30 KB |
ejs.min.js | 27 KB |
lib/esm/ejs.js | 26 KB |
README.md | 15 KB |
LICENSE | 11 KB |
bin/cli.js | 9.2 KB |
jakefile.js | 8.7 KB |
lib/cjs/parseargs.js | 6.7 KB |
lib/cjs/utils.js | 6.1 KB |
lib/esm/parseargs.js | 5.8 KB |
lib/esm/utils.js | 5.7 KB |
usage.txt | 1.7 KB |
package.json | 1.1 KB |
lib/esm/package.json | 23 B |
lib/cjs/package.json | 19 B |
Version 7.0.1 of ejs publishes 16 files of source, 214 KB in all, not counting images, fonts and source maps.
No: ejs doesn't call eval() anywhere in its published files.
Yes: ejs uses child_process in 1 of its files.
No: ejs has no preinstall, install or postinstall script in its package.json.
The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.