![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Bang is a command line tool for quick storage and retriveal of text snippets. It is inspired by and very similar to holman's Boom. The main difference is that Bang has no concept of lists: it is only one level deep. It also has a simpler interface to avoid accidentally creating stuff.
Requirements:
Then:
$ npm install -g bang
$ bang -h
Or, if you have not yet stored any data, simply run bang
.
$ bang jimmy http://jimmycuadra.com/
$ bang jimmy
http://jimmycuadra.com/
The value is copied to your clipboard.
$ bang -d jimmy
$ bang
jimmy: http://jimmycuadra.com/
mtnt: http://morethingsneed.to/
address: 237 Overlook Street
Bang's data is serialized to JSON and peristed to a file at ~/.bang
. If you want to share your Bang data across multiple machines, you can move the file to Dropbox or some other type of network disk, and then symlink it to ~/.bang
on your local machine.
Bang can also be used from a Node program directly. Simply require("bang")
to import the core Bang class with access to all the CRUD methods.
Bang includes a comprehensive test suite using Jasmine. To run it:
$ npm install -g coffee-script
$ git clone http://github.com/jimmycuadra/bang.git
$ cd bang
$ npm install
$ cake spec
For continuous testing, use cake watch
. This also rebuilds CoffeeScript files whenever the tests are run.
FAQs
Text snippets on the command line.
The npm package bang receives a total of 6 weekly downloads. As such, bang popularity was classified as not popular.
We found that bang demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.