Home / npm packages / bluebird

bluebird source code

Every file of bluebird@3.7.2 as published on npm: 45 files, 632 KB. Search them by exact text or regex, in milliseconds.

It uses: eval(), new Function(), process.env.

What bluebird uses

APIIn bluebird
eval()
runs a string as JavaScript
Yes: 3 files
e.g. js/browser/bluebird.core.js
See the lines
new Function()
builds a function from a string, like eval (with or without new)
Yes: 5 files
e.g. js/browser/bluebird.core.js
See the lines
child_process
starts other programs
NoWho does
process.env
reads environment variables
Yes: 5 files
e.g. js/browser/bluebird.core.js
See the lines
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
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
js/browser/bluebird.js183 KB
js/browser/bluebird.core.js123 KB
js/browser/bluebird.min.js82 KB
js/browser/bluebird.core.min.js57 KB
js/release/debuggability.js32 KB
js/release/promise.js27 KB
js/release/promisify.js12 KB
js/release/util.js11 KB
js/release/join.js8.1 KB
js/release/generators.js7.8 KB
js/release/using.js7.5 KB
js/release/map.js5.6 KB
js/release/reduce.js5.4 KB
js/release/promise_array.js5.3 KB
js/release/finally.js4.6 KB
js/release/call_get.js4.4 KB
js/release/some.js4.0 KB
js/release/errors.js3.7 KB
js/release/cancel.js3.7 KB
js/release/props.js3.1 KB
README.md3.1 KB
js/release/async.js2.9 KB
js/release/synchronous_inspection.js2.8 KB
js/release/timers.js2.4 KB
js/release/context.js2.4 KB
package.json2.2 KB
js/release/schedule.js2.1 KB
js/release/thenables.js2.1 KB
js/release/es5.js2.0 KB
js/release/bind.js2.0 KB

Questions

How many files are in bluebird?

Version 3.7.2 of bluebird publishes 45 files of source, 632 KB in all, not counting images, fonts and source maps.

Does bluebird use eval?

Yes: bluebird calls eval() in 3 of its files.

Does bluebird start other programs?

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

Does bluebird run an install script?

No: bluebird 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