Giter Site home page Giter Site logo

meteor-package-dump's Introduction

meteor-package-dump

Dump Meteor (Atmosphere) JSON package metadata.

Connects directly to Atmosphere via ddp.

Examples below assume you have the jq command-line JSON processor installed.

meteor-package-dump alternative: Atmosphere API

Instead of meteor-package-dump you can use Atmosphere's REST API like so:

curl --header "Accept: application/json" https://atmospherejs.com/a/packages/findByNames?names=csats:mturk | jq .

Output:

[
  {
    "installs-per-year": 10,
    "latestVersion": {
      "published": {
        "$date": 1443133679956
      },
      "version": "0.1.11",
      "git": "https://github.com/csats/meteor-mturk",
      "description": "Basic mTurk API for Meteor",
      "readme": "https://warehouse.meteor.com/readme/H7w5GT9ynmwaoaH2F/1443133678853/gn5bTJrKzL/csats:mturk-0.1.11-readme.md",
      "unmigrated": false
    },
    "name": "csats:mturk",
    "score": 0,
    "starCount": 2
  }
]

Install

npm install -g meteor-package-dump

Usage

meteor-package-dump METEOR_PACKAGE

Example:

meteor-package-dump csats:mturk

To get the git repo URL for the latest version of csats:mturk (requires jq):

meteor-package-dump csats:mturk | jq '.[] | .latestVersion.git'

Output:

"https://github.com/csats/meteor-mturk"

Example meteor-package-dump output

meteor-package-dump csats:mturk | jq .

Output:

{
  "TDBzXGRqb7FDYn3sN": {
    "_id": "TDBzXGRqb7FDYn3sN",
    "authorName": "csats",
    "baseName": "mturk",
    "installs-per-day": 0,
    "installs-per-month": 0,
    "installs-per-week": 0,
    "installs-per-year": 10,
    "lastUpdated": "2015-01-06T20:44:32.689Z",
    "latestVersion": {
      "published": "2015-09-24T22:27:59.956Z",
      "version": "0.1.11",
      "earliestCompatibleVersion": "0.0.0",
      "git": "https://github.com/csats/meteor-mturk",
      "description": "Basic mTurk API for Meteor",
      "readme": "https://warehouse.meteor.com/readme/H7w5GT9ynmwaoaH2F/1443133678853/gn5bTJrKzL/csats:mturk-0.1.11-readme.md",
      "dependencies": [
        "meteor",
        "meteor-platform"
      ],
      "prerelease": false,
      "unmigrated": false
    },
    "maintainers": [
      {
        "username": "csats",
        "isOrganization": true
      }
    ],
    "metadata": {
      "name": "csats:mturk",
      "maintainers": [
        {
          "username": "csats",
          "id": "4NEDkYyCJvvZcTBr6",
          "isOrganization": true
        }
      ],
      "lastUpdated": "2015-01-06T20:44:32.689Z",
      "_id": "wEoBjpzwXFj4huzox"
    },
    "name": "csats:mturk",
    "readme": {
      "url": "https://warehouse.meteor.com/readme/H7w5GT9ynmwaoaH2F/1443133678853/gn5bTJrKzL/csats:mturk-0.1.11-readme.md",
      "content": "<h1>Basic mTurk API wrapper for Meteor</h1>..."
    },
    "score": 0,
    "starCount": 2,
    "trend-3-days": 0
  }
}

Copyright and License

Copyright (C)2016 Adam Monsen [email protected]

License: MIT. See COPYING.

meteor-package-dump's People

Contributors

meonkeys avatar

Watchers

 avatar  avatar

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.