Jsome
Jsome copied to clipboard
:sparkles: Make your JSON look AWESOME
I tried to use it in TypeScript project with no luck (with `strict=true`). Can you add typings please?
```js const jsome = require('jsome') const obj = { a: 1, b: "str", c: undefined, d: null } console.log( jsome.getColoredString(obj) ) ``` Output is: ```json { a: 1, b: "str",...
Example: `[1, '313233343536373839303132333435367b94679e5264bf84069c68643307ef80c1ebf343565158', 3]` Output is: ```json [1, "313233343536373839303132333435367b94679e5264bf84069c68643307ef80c1ebf343565158", 3] ``` Output for better readability should be (like object output): ```json [ 1, "313233343536373839303132333435367b94679e5264bf84069c68643307ef80c1ebf343565158", 3 ] ``` If you had...
```js jsome.getColoredString(undefined) ```
Only object brackets are visible. Example ```js jsome( new RegExp('ab+c') ) ``` Outputs ``` { } ```
I briefly reviewed the changelogs, and the only relevant thing I found was related to the Node version: - https://github.com/yargs/yargs/blob/master/CHANGELOG.md - https://github.com/yargs/yargs-parser/blob/master/CHANGELOG.md#breaking-changes Node 6 reached end of life earlier this...
A vulnerability in `mem` < 4.0 sindresorhus/mem#14 was fixed in yargs/yargs#1209 and released in 12.0.2 or later. I'm seeing an alert in Shields via Danger via jsome. It would be...
It tests if the inline representation length is bigger than `jsome.params.maxInlineLength`, than do the job. This commit adds a new cli parameter `-m` to set jsome.params.maxInlineLength.
I'm on node 8.9 and using iterm2 on OSX. I can print colors with the chalk package fine. If I do this: ```js const testObject = { someData: 'testing' };...