https://github.com/krakenjs/belter
Miscellaneous browser utilities
https://github.com/krakenjs/belter
Last synced: 3 months ago
JSON representation
Miscellaneous browser utilities
- Host: GitHub
- URL: https://github.com/krakenjs/belter
- Owner: krakenjs
- License: apache-2.0
- Created: 2018-07-31T00:30:19.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T15:59:04.000Z (about 1 year ago)
- Last Synced: 2024-04-14T13:57:32.675Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.85 MB
- Stars: 16
- Watchers: 11
- Forks: 31
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
## belter
[![build status][build-badge]][build]
[![code coverage][coverage-badge]][coverage]
[![npm version][version-badge]][package]
[![apache license][license-badge]][license][build-badge]: https://img.shields.io/github/actions/workflow/status/krakenjs/belter/main.yml?branch=main&logo=github&style=flat-square
[build]: https://github.com/krakenjs/belter/actions?query=workflow%3Abuild
[coverage-badge]: https://img.shields.io/codecov/c/github/krakenjs/belter.svg?style=flat-square
[coverage]: https://codecov.io/github/krakenjs/belter/
[version-badge]: https://img.shields.io/npm/v/belter.svg?style=flat-square
[package]: https://www.npmjs.com/package/belter
[license-badge]: https://img.shields.io/npm/l/belter.svg?style=flat-square
[license]: https://github.com/krakenjs/belter/blob/main/LICENSEMiscellaneous 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
```bash
npm run build
```#### Tests
- Edit tests in `./test/tests`
- Run the tests:```bash
npm run test
```#### Testing with different/multiple browsers
```bash
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
```bash
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`