Common utility functions for Node.js used and maintained by Benjamin Lupton
- Install:
npm install --save bal-util
- Module:
require('bal-util')
- Install:
npm install --save bal-util
- Module:
require('bal-util')
- CDN URL:
//wzrd.in/bundle/bal-util@2.8.0
- Install:
ender add bal-util
- Module:
require('bal-util')
This package is published with the following editions:
bal-util
aliasesbal-util/index.js
which uses Editions to automatically select the correct edition for the consumers environmentbal-util/source/index.coffee
is Source + CoffeeScript + Requirebal-util/esnext/index.js
is CoffeeScript Compiled + ESNext + Requirebal-util/es2015/index.js
is CoffeeScript Compiled + ES2015 + Require
Older environments may need Babel's Polyfill or something similar.
Best off looking at source, it's well documented, and there are plenty of tests
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-* <
balUtilPaths.(openFile|closeFile|etc)
- @bevry/fs-remove <
balUtilPaths.rmdirDeep
- @bevry/fs-tree <
balUtilPaths.writetree
,balUtilPaths.scandir
- ambi <
balUtilFlow.fireWithOptionalCallback
- binaryextensions <
balUtilPaths.binaryExtensions
- detect-indentation <
balUtilHTML.detectIndentation
- eachr <
balUtilFlow.each
- event-emitter-grouped <
balUtilEvents.EventEmitterEnhanced
- extendr <
balUtilFlow.(extend|clone|etc)
- extract-opts <
balUtilFlow.extractOptsAndCallback
- getsetdeep <
balUtilFlow.(get|set)Deep
- ignorefs <
balUtilPaths.isIgnoredPath
- ignorepatterns <
balUtilPaths.ignoreCommonPatterns
- istextorbinary <
balUtilPaths.(isTextSync|isText|getEncodingSync|getEncoding)
- remove-indentation <
balUtilHTML.removeIndentation
- ropo <
balUtilHTML.(getAttribute|replaceElement|replaceElementAsync)
- safecallback <
balUtilFlow.safeCallback
- safeps <
balUtilModules
- scandirectory <
balUtilPaths.scandir
- taskgroup <
balUtilFlow.Group
- textextensions <
balUtilPaths.textExtensions
- trim-indentation <
balUtilHTML.removeIndentation
- typechecker <
balUtilTypes
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Discover the release history by heading on over to the HISTORY.md
file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Unless stated otherwise all works are:
- Copyright © 2011+ Benjamin Lupton
and licensed under: