Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bevry-archive/bal-util
- Owner: bevry-archive
- License: other
- Created: 2011-05-18T02:11:48.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-01-03T10:24:00.000Z (9 months ago)
- Last Synced: 2024-07-22T04:35:52.210Z (2 months ago)
- Topics: nodejs, unsupported
- Language: CoffeeScript
- Homepage:
- Size: 618 KB
- Stars: 13
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
Benjamin Lupton's Utility Functions
Common utility functions for Node.js used and maintained by Benjamin Lupton
Install
- 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/[email protected]
- Install:
ender add bal-util
- Module:
require('bal-util')
Editions
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 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?
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:
- Copyright © 2011+ Benjamin Lupton
and licensed under: