Get unlimited public & private packages + team-based management with npm Teams.Learn more »

belter

1.0.115 • Public • Published

belter

Miscellaneous browser utils and tools.

Quick Start

Getting Started

  • Fork the module
  • Run setup: npm run setup
  • Start editing code in ./src and writing tests in ./tests
  • npm run build

Building

npm run build

Tests

  • Edit tests in ./test/tests

  • Run the tests:

    npm run test

Testing with different/multiple browsers

npm run karma -- --browser=PhantomJS
npm run karma -- --browser=Chrome
npm run karma -- --browser=Safari
npm run karma -- --browser=Firefox
npm run karma -- --browser=PhantomJS,Chrome,Safari,Firefox

Keeping the browser open after tests

npm run karma -- --browser=Chrome --keep-open

Publishing

  • Publish your code: npm run release to add a patch
    • Or npm run release:path, npm run release:minor, npm run release:major

Keywords

Install

npm i belter

DownloadsWeekly Downloads

28,651

Version

1.0.115

License

none

Unpacked Size

740 kB

Total Files

35

Last publish

Collaborators

  • avatar