memoryhole / jjo Goto Github PK
View Code? Open in Web Editor NEWa small utility to create JSON objects, written for Node.js
License: MIT License
a small utility to create JSON objects, written for Node.js
License: MIT License
Error during install:
:\#all\FIDATA\workspace\!devops\fidata.org>npm install jjo
npm ERR! path R:\#all\FIDATA\workspace\!devops\fidata.org\node_modules\jjo\dist\lib\jjo.js
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod 'R:\#all\FIDATA\workspace\!devops\fidata.org\node_modules\jjo\dist\lib\jjo.js'
npm ERR! enoent This is related to npm not being able to find a file.
Looking into jjo-1.1.0.tgz
archive, there is no dist
dir, just three files: package.json
, LICENSE
and README
Among all implementations jjo
, njo
, jo
etc. I'd like to use this one because I often need the ability to create arrays of objects. jo
doesn't support that, see jpmens/jo#63 but jjo
does: https://github.com/memoryhole/jjo/blob/v1.0.3/README.md#create-array.
I'm having escaping issues. I'm trying to run:
$ jjo special_string=":ba"
fs.js:114
throw err;
^
Error: ENOENT: no such file or directory, open 'ba'
at Object.openSync (fs.js:443:3)
at Object.readFileSync (fs.js:343:35)
at readFile (/var/lib/npm/lib/node_modules/jjo/dist/index.js:23:25)
at parse (/var/lib/npm/lib/node_modules/jjo/dist/index.js:42:16)
at pairs.forEach (/var/lib/npm/lib/node_modules/jjo/dist/index.js:59:20)
at Array.forEach (<anonymous>)
at Object.parseKeyValuePairs (/var/lib/npm/lib/node_modules/jjo/dist/index.js:58:11)
at Command.commander_1.default.action (/var/lib/npm/lib/node_modules/jjo/dist/jjo.js:40:27)
at Command.listener (/var/lib/npm/lib/node_modules/jjo/node_modules/commander/index.js:291:8)
at Command.emit (events.js:198:13)
Naturally this happens because I'm supposed to use :
as a prefix in order to make jjo
read json files but I'd like to insert this string literally.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.