Home / npm packages / gh-pages

gh-pages source code

Every file of gh-pages@6.3.0 as published on npm: 8 files, 40 KB. Search them by exact text or regex, in milliseconds.

It uses: child_process, process.env, fetch().

What gh-pages uses

APIIn gh-pages
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
Yes: 2 files
e.g. lib/git.js
See the lines
process.env
reads environment variables
Yes: 1 file
e.g. readme.md
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
Yes: 1 file
e.g. lib/index.js
See the lines
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
readme.md15 KB
lib/git.js7.3 KB
lib/index.js6.7 KB
bin/gh-pages.js4.6 KB
lib/util.js4.2 KB
package.json1.3 KB
LICENSE1.1 KB
bin/gh-pages-clean.js173 B

Questions

How many files are in gh-pages?

Version 6.3.0 of gh-pages publishes 8 files of source, 40 KB in all, not counting images, fonts and source maps.

Does gh-pages use eval?

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

Does gh-pages start other programs?

Yes: gh-pages uses child_process in 2 of its files.

Does gh-pages run an install script?

No: gh-pages 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