Comments (3)
Yep, nice idea, I'd be happy to see a PR for that. Have a look at bin.js and the --pretty
argument for the json output:
Line 57 in 7d9f0c3
--width
or --cols
.
At some point a proper args parser would be a good idea, but I think that can be deferred for a bit longer.
from cborg.
I looked at that but we would need to parse 2 args (--width and a value) and that felt a bit hacky when I thought how that would look like. I am open to explore that option and try to add it as an arg instead of environment variable.
from cborg.
🎉 This issue has been resolved in version 4.2.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
from cborg.
Related Issues (15)
- Buffer detection HOT 3
- ** operator HOT 1
- Needs a main entry in package.json HOT 2
- safari error HOT 3
- more low level decoding HOT 2
- better structuredClone support HOT 4
- parity with cbor-x HOT 3
- [Feature Request]: Encode as blobParts (may include blobs)
- Option to bail on duplicate map keys
- Decoding concatenated data items HOT 6
- Typings don't work when cborg is imported in a ESM project HOT 2
- Decoder failure HOT 3
- Max encodable BigInt is smaller than max encodable Number? HOT 1
- Disallow certain types when decoding HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cborg.