Comments (2)
This change requires:
1) Changing the JavaScript from:
const type = boolType || nullType || strType || 'value';`
to:
const type = boolType || nullType || strType || 'number';`
2) Changing the CSS from:
.json-value { color: navy; }
to:
.json-number { color: navy; }
3) Running npm test
and updating the test cases as needed.
from pretty-print-json.
Release v0.2.0
from pretty-print-json.
Related Issues (20)
- Make links clickable HOT 1
- Add support for JSON5 HOT 1
- Upgrade to ES6 spread operator to merge options
- Code cleanup, whitespace issues, introduce prettier? HOT 4
- Travis/Azure/Actions pipeline?
- Switch to trailing comma style in spec/mocha.js HOT 3
- Switch to ES6 object method shorthand in spec/interactive.html
- Add JSHint rule to disallow var declarations HOT 1
- Add JSHint rule to disallow invalid space characters
- 0.4.3 and 0.4.4 are broken for dynamic import HOT 2
- add changelog HOT 2
- Undefined import: prettyPrintJson HOT 6
- Add Line number support HOT 9
- Option to enable more compact layout for small objects and arrays HOT 3
- Trouble with properly formatting array in JSON object HOT 2
- Key order not preserved HOT 2
- URL query param support HOT 1
- Toggle dark mode with `prefers-color-scheme` by default
- Add Option for linkUrls for target='_blank' HOT 1
- Polyfill support for String.prototype.at 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 pretty-print-json.