![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.
Realtime Bitcoin market stats from the command line.
Trade data from Mt. Gox.
Requires node.js and npm.
$ npm install -g bashcoin
$ bashcoin
buy $5.13
sell $5.15
high $5.17
low $5.10
Usage: bashcoin.js [options]
Options:
-h, --help output usage information
-V, --version output the version number
-c, --cont run continuously, query every 30 seconds
-b, --buy output buy
-s, --sell output sell
-S, --spread output spread (rounded)
-H, --high output high
-L, --low output low
-a, --avg output average
-v, --vol output volume
-p, --vwap output volume-weighted average price
-l, --last output last
-A, --all output all available stats
-i, --interval [seconds] custom interval for continuous output
Run bashcoin with -c
to see a continuous output with delta percentages:
buy $7.80
sell $7.81 +0.11%
high $7.90
low $7.10 -0.44%
Try bashcoin -Ac
to see all available stats outputted every 30 seconds:
buy $7.47 +0.36%
sell $7.54 -0.71%
high $7.90
low $7.10
avg $7.57
vol 95,907.27 BTC +0.01%
vwap $7.51
last $7.54 +1.28%
spread $0.06 -116.1%
You can define a custom output interval in seconds with -i
.
FAQs
Bitcoin market stats from the command line.
The npm package bashcoin receives a total of 2 weekly downloads. As such, bashcoin popularity was classified as not popular.
We found that bashcoin 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.