Home / npm packages / es6-promise

es6-promise source code

Every file of es6-promise@4.2.8 as published on npm: 23 files, 117 KB. Search them by exact text or regex, in milliseconds.

It uses: new Function(), XMLHttpRequest.

What es6-promise uses

APIIn es6-promise
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
Yes: 6 files
e.g. dist/es6-promise.auto.js
See the lines
child_process
starts other programs
NoWho does
process.env
reads environment variables
NoWho does
the fs module
reads and writes files
NoWho does
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
Yes: 3 files
e.g. dist/es6-promise.auto.js
See the lines
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
dist/es6-promise.auto.js29 KB
dist/es6-promise.js29 KB
lib/es6-promise/promise.js10 KB
dist/es6-promise.auto.min.js6.5 KB
dist/es6-promise.min.js6.5 KB
es6-promise.d.ts5.3 KB
lib/es6-promise/-internal.js5.3 KB
CHANGELOG.md3.6 KB
README.md3.2 KB
lib/es6-promise/asap.js3.2 KB
lib/es6-promise/enumerator.js2.9 KB
package.json2.5 KB
lib/es6-promise/promise/race.js2.3 KB
lib/es6-promise/promise/all.js1.6 KB
lib/es6-promise/promise/reject.js1.1 KB
LICENSE1.1 KB
lib/es6-promise/promise/resolve.js1.1 KB
lib/es6-promise/polyfill.js724 B
lib/es6-promise/then.js609 B
lib/es6-promise/utils.js468 B
lib/es6-promise.js193 B
auto.js179 B
lib/es6-promise.auto.js81 B

Questions

How many files are in es6-promise?

Version 4.2.8 of es6-promise publishes 23 files of source, 117 KB in all, not counting images, fonts and source maps.

Does es6-promise use eval?

No: es6-promise doesn't call eval() anywhere in its published files.

Does es6-promise start other programs?

No: es6-promise doesn't use child_process anywhere in its published files.

Does es6-promise run an install script?

No: es6-promise 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