
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
is-js-error
Advanced tools
Check if a page contains a JavaScript error
npm install -g is-js-error
From the command line,
$ is-js-error example.com
ā OK
# With a specific time to wait for before reporting no error (in ms)
$ is-js-error example.com --wait 3000
ā OK
The exit status is 1
for a page that fails to load and 2
for a JS error.
This project relies on Electron, which requires a GUI. See the following Travis guide.
You first need to clone the project on your computer, and to install Node. This project uses nvm to execute a specific node version.
Install the project with:
git clone git@github.com:thibaudcolas/is-js-error.git
cd is-js-error
nvm install
npm install
npm install -g eslint babel-eslint eslint-config-airbnb
./.githooks/deploy
To run the tests:
npm run test
Test pages:
To release a new version:
npm version minor -m "Release %s"
git push origin master
git push --tags
npm publish
FAQs
Check if a page contains a JavaScript error
The npm package is-js-error receives a total of 9 weekly downloads. As such, is-js-error popularity was classified as not popular.
We found that is-js-error demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Ā It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600Ć faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.