Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bevry-archive/bal-util

Utility functions for JavaScript and Node.js used and maintained by Benjamin Lupton
https://github.com/bevry-archive/bal-util

nodejs unsupported

Last synced: about 2 months ago
JSON representation

Utility functions for JavaScript and Node.js used and maintained by Benjamin Lupton

Awesome Lists containing this project

README

        

Benjamin Lupton's Utility Functions

Travis CI Build Status
NPM version
NPM downloads
Dependency Status
Dev Dependency Status


Patreon donate button
Open Collective donate button
Flattr donate button
PayPal donate button
Bitcoin donate button
Wishlist browse button


Slack community badge

Common utility functions for Node.js used and maintained by Benjamin Lupton

Install

NPM


  • Install: npm install --save bal-util

  • Module: require('bal-util')

Browserify


  • Install: npm install --save bal-util

  • Module: require('bal-util')

  • CDN URL: //wzrd.in/bundle/[email protected]

Ender


  • Install: ender add bal-util

  • Module: require('bal-util')

Editions

This package is published with the following editions:



  • bal-util aliases bal-util/index.js which uses Editions to automatically select the correct edition for the consumers environment


  • bal-util/source/index.coffee is Source + CoffeeScript + Require


  • bal-util/esnext/index.js is CoffeeScript Compiled + ESNext + Require


  • bal-util/es2015/index.js is CoffeeScript Compiled + ES2015 + Require

Older environments may need Babel's Polyfill or something similar.

## Usage
Best off looking at source, it's well documented, and there are plenty of tests

## Abstraction
We're working to breaking out every part of bal-util into their own modules, or to use existing modules where there is now a more abstract version. Below are the list of the following abstractions that have been made:

- [@bevry/fs-*](https://github.com/orgs/bevry/repositories?language=&q=fs-&sort=&type=all) < `balUtilPaths.(openFile|closeFile|etc)`
- [@bevry/fs-remove](https://github.com/bevry/fs-remove) < `balUtilPaths.rmdirDeep`
- [@bevry/fs-tree](https://github.com/bevry/fs-tree) < `balUtilPaths.writetree`, `balUtilPaths.scandir`
- [ambi](https://github.com/bevry/ambi) < `balUtilFlow.fireWithOptionalCallback`
- [binaryextensions](https://github.com/bevry/binaryextensions) < `balUtilPaths.binaryExtensions`
- [detect-indentation](https://github.com/bevry/detect-indentation) < `balUtilHTML.detectIndentation`
- [eachr](https://github.com/bevry/eachr) < `balUtilFlow.each`
- [event-emitter-grouped](https://github.com/bevry/event-emitter-grouped) < `balUtilEvents.EventEmitterEnhanced`
- [extendr](https://github.com/bevry/extendr) < `balUtilFlow.(extend|clone|etc)`
- [extract-opts](https://github.com/bevry/extract-opts) < `balUtilFlow.extractOptsAndCallback`
- [getsetdeep](https://github.com/bevry/getsetdeep) < `balUtilFlow.(get|set)Deep`
- [ignorefs](https://github.com/bevry/ignorefs) < `balUtilPaths.isIgnoredPath`
- [ignorepatterns](https://github.com/bevry/ignorepatterns) < `balUtilPaths.ignoreCommonPatterns`
- [istextorbinary](https://github.com/bevry/istextorbinary) < `balUtilPaths.(isTextSync|isText|getEncodingSync|getEncoding)`
- [remove-indentation](https://github.com/bevry/remove-indentation) < `balUtilHTML.removeIndentation`
- [ropo](https://github.com/bevry/ropo) < `balUtilHTML.(getAttribute|replaceElement|replaceElementAsync)`
- [safecallback](https://github.com/bevry/safecallback) < `balUtilFlow.safeCallback`
- [safeps](https://github.com/bevry/safeps) < `balUtilModules`
- [scandirectory](https://github.com/bevry/scandirectory) < `balUtilPaths.scandir`
- [taskgroup](https://github.com/bevry/taskgroup) < `balUtilFlow.Group`
- [textextensions](https://github.com/bevry/textextensions) < `balUtilPaths.textExtensions`
- [trim-indentation](https://github.com/bevry/trim-indentation) < `balUtilHTML.removeIndentation`
- [typechecker](https://github.com/bevry/typechecker) < `balUtilTypes`

Contribute

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

History

Discover the release history by heading on over to the HISTORY.md file.

Backers

Maintainers

These amazing people are maintaining this project:

Sponsors

No sponsors yet! Will you be the first?

Patreon donate button
Open Collective donate button
Flattr donate button
PayPal donate button
Bitcoin donate button
Wishlist browse button

Contributors

These amazing people have contributed code to this project:

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

License

Unless stated otherwise all works are:

and licensed under: