Home / npm packages / np
Every file of np@12.1.1 as published on npm: 21 files, 120 KB. Search them by exact text or regex, in milliseconds.
It uses: process.env, the fs module, fetch().
| API | In np | |
|---|---|---|
| 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 | No | Who does |
| process.env reads environment variables | Yes: 2 files e.g. source/npm/oidc.js | See the lines |
| the fs module reads and writes files | Yes: 1 file e.g. source/package-manager/index.js | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | No | Who does |
| fetch() makes HTTP requests | Yes: 1 file e.g. source/prerequisite-tasks.js | See the lines |
| 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 | 16 KB |
source/ui.js | 15 KB |
source/npm/util.js | 12 KB |
source/index.js | 12 KB |
source/cli-implementation.js | 11 KB |
source/git-util.js | 9.5 KB |
source/util.js | 8.1 KB |
source/version.js | 7.9 KB |
source/prerequisite-tasks.js | 5.5 KB |
source/package-manager/index.js | 4.2 KB |
source/package-manager/configs.js | 3.6 KB |
source/npm/publish.js | 3.6 KB |
package.json | 2.4 KB |
source/npm/handle-npm-error.js | 1.6 KB |
source/release-task-helper.js | 1.6 KB |
license | 1.1 KB |
source/git-tasks.js | 1.1 KB |
source/npm/enable-2fa.js | 963 B |
source/config.js | 934 B |
source/npm/oidc.js | 912 B |
source/cli.js | 367 B |
Version 12.1.1 of np publishes 21 files of source, 120 KB in all, not counting images, fonts and source maps.
No: np doesn't call eval() anywhere in its published files.
No: np doesn't use child_process anywhere in its published files.
No: np 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.