Home / npm packages / shelljs
Every file of shelljs@0.10.0 as published on npm: 41 files, 152 KB. Search them by exact text or regex, in milliseconds.
It uses: child_process, process.env, the fs module.
| API | In shelljs | |
|---|---|---|
| eval() runs a string as JavaScript | No | Who does |
| new Function() builds a function from a string, like eval (with or without new) | No | Who does |
| child_process starts other programs | Yes: 5 files e.g. src/cmd.js | See the lines |
| process.env reads environment variables | Yes: 7 files e.g. src/cd.js | See the lines |
| the fs module reads and writes files | Yes: 23 files e.g. src/cat.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 |
|---|---|
README.md | 27 KB |
src/common.js | 16 KB |
src/cp.js | 10 KB |
src/exec.js | 8.1 KB |
src/chmod.js | 7.2 KB |
src/grep.js | 6.1 KB |
src/dirs.js | 5.7 KB |
src/rm.js | 5.7 KB |
shell.js | 5.2 KB |
src/ls.js | 5.1 KB |
src/cmd.js | 4.9 KB |
src/mv.js | 3.7 KB |
src/which.js | 3.6 KB |
src/touch.js | 3.0 KB |
src/mkdir.js | 2.7 KB |
src/head.js | 2.7 KB |
src/uniq.js | 2.6 KB |
src/sort.js | 2.6 KB |
src/sed.js | 2.6 KB |
src/tempdir.js | 2.3 KB |
src/tail.js | 2.2 KB |
package.json | 2.2 KB |
src/test.js | 2.1 KB |
src/exec-child.js | 2.0 KB |
src/ln.js | 2.0 KB |
src/cat.js | 1.9 KB |
src/find.js | 1.7 KB |
LICENSE | 1.5 KB |
src/echo.js | 1.4 KB |
src/set.js | 1.4 KB |
Version 0.10.0 of shelljs publishes 41 files of source, 152 KB in all, not counting images, fonts and source maps.
No: shelljs doesn't call eval() anywhere in its published files.
Yes: shelljs uses child_process in 5 of its files.
No: shelljs 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.