Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    paper2jsonpublic

    Paper2JSON

    In summary, the coolest thing ever.
    Also converts a Dropbox paper document to JSON using ArchieML.

    Sister project to Googledoc-to-json

    CLI Usage

    $ npx paper2json <Dropbox docId> -t <Dropbox Access Token>
    // will output aml.json (default)
    

    API

    const fs = require('fs')
    const paper2json = require('paper2json')
    paper2json(docId, accessToken)
      .then(aml => fs.writeFileSync('test/aml.json', JSON.stringify(aml, null, '\t')))
     

    Get a damn access token by reading this...

    Testing

    $ ACCESS_TOKEN=xxyyzz npm test

    install

    npm i paper2json

    Downloadslast 7 days

    3

    version

    0.2.2

    license

    MIT

    last publish

    collaborators

    • avatar