Git Product home page Git Product logo

jjo's People

Contributors

dependabot[bot] avatar memoryhole avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

jgarte mamh-mixed

jjo's Issues

v1.1.0 on npmjs.com is broken

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

How to unescape `:` in the beggining of a string key?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.