
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
Common utility functions for Node.js used and maintained by Benjamin Lupton
npm install --save bal-utilrequire('bal-util')npm install --save bal-utilrequire('bal-util')//wzrd.in/bundle/bal-util@2.8.0ender add bal-utilrequire('bal-util')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 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 + RequireOlder 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:
balUtilFlow.fireWithOptionalCallbackbalUtilPaths.binaryExtensionsbalUtilHTML.detectIndentationbalUtilFlow.eachbalUtilEvents.EventEmitterEnhancedbalUtilFlow.(extend|clone|etc)balUtilFlow.extractOptsAndCallbackbalUtilFlow.(get|set)DeepbalUtilPaths.isIgnoredPathbalUtilPaths.ignoreCommonPatternsbalUtilPaths.(isTextSync|isText|getEncodingSync|getEncoding)balUtilHTML.removeIndentationbalUtilPaths.rmdirDeepbalUtilHTML.(getAttribute|replaceElement|replaceElementAsync)balUtilFlow.safeCallbackbalUtilPaths.(openFile|closeFile|etc)balUtilModulesbalUtilPaths.scandirbalUtilFlow.GroupbalUtilPaths.textExtensionsbalUtilHTML.removeIndentationbalUtilTypesDiscover 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:
and licensed under:
v2.8.0 2018 June 10
FAQs
Common utility functions for Node.js used and maintained by Benjamin Lupton
The npm package bal-util receives a total of 1,967 weekly downloads. As such, bal-util popularity was classified as popular.
We found that bal-util demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.