Socket
Socket
Sign inDemoInstall

intelli-espower-loader

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intelli-espower-loader

Make espower-lodaer config file unnecessary.


Version published
Weekly downloads
41K
increased by94.1%
Maintainers
2
Weekly downloads
 
Created
Source

intelli-espower-loader Build Status

Handy node module for power-assert and espower-loader.

Installation

npm install intelli-espower-loader --save-dev

You should also install power-assert.

npm install power-assert --save-dev 

Usage

See example/

1. Put test script in test folder

The default folder is "test/". You must put your test script in this folder.

If you don't put your test code in the right folder, intelli-espower-loader will work incorrectly.

You can change test folder setting in your package.json

{
    "name": "your-module",
    "description": "Your module",
    "version": "0.0.1",
    "directories": {
        "test": "test/"
    },
    "license": "MIT",
...
}
"directories": {
    "test": "test/"
}

2. Run mocha with intelli-espower-loader

mocha --require intelli-espower-loader

Run Test with power-assert on the fly!!

mocha

mocha with webstorm

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

FAQs

Package last updated on 05 Apr 2021

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