Skip to content

krakenjs/belter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

31d5782 · Feb 13, 2025
Aug 1, 2024
Jun 27, 2022
Feb 13, 2025
Aug 1, 2024
Feb 13, 2025
Feb 13, 2025
Jan 18, 2017
Nov 17, 2022
Feb 13, 2025
Nov 7, 2018
Jan 6, 2022
Jun 27, 2022
Jun 27, 2022
Feb 13, 2025
Jun 27, 2022
May 14, 2021
Dec 20, 2022
Jun 27, 2022
Nov 17, 2022
Jun 27, 2022
Jun 27, 2022
Nov 17, 2022
Feb 13, 2025
Dec 7, 2023
Nov 17, 2022

Repository files navigation

belter

build status code coverage npm version apache license

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