New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

is-js-error

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-js-error

Check if a page contains a JavaScript error

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

is-js-error npm Build Status dependency Status devDependency Status

Check if a page contains a JavaScript error

Installation

npm install -g is-js-error

Usage

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.

In continuous integration

This project relies on Electron, which requires a GUI. See the following Travis guide.

Contributing

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

Keywords

FAQs

Package last updated on 23 Oct 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc