New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

parse2flybase

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse2flybase

Import Parse.com exported JSON files into Flybase

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

Parse2Flybase

Parse2Flybase is a helper utility for importing JSON files that have been exported from Parse.com into Flybase.

It breaks the JSON into smaller chunks and uploads them individually through the Flybase API.

Installing

Install the parse2flybase module globally:

$ npm install -g parse2flybase

or install it locally and add it to your path:

$ npm install parse2flybase
$ export PATH=$PATH:`npm bin`

Usage

$ parse2flybase
Usage: parse2flybase

Options:
  --flybase_key, -k          Flybase API Key.                                                             [required]
  --flybase_app, -a          Flybase App name.                                                            [required]
  --flybase_collection, -c   Flybase collection name.                                                     [required]
  --json, -j                 The JSON file to import.                                                     [required]
  --merge, -m                Add the records to the collection without overwriting the whole collection.  [boolean]
  --force                    Don't prompt before overwriting data.                                        [boolean]

Example

$ parse2flybase --flybase_key API-KEY --flybase-app Test --flybase_collection Stuff --json test.json
All data at Test/Stuff will be overwritten.
Press <enter> to proceed, Ctrl-C to abort.

Reading /Users/roger/test.json... (may take a minute)
Preparing JSON for import... (may take a minute)
Importing [=================================================] 100% (9431/9431)
Import completed.

Or an example of merging the contents of test.json with what's already in your collection:

$ parse2flybase --flybase_key API-KEY --flybase-app Test --flybase_collection Stuff --json test.json --merge
Each document in test.json will be written under Test/Stuff.  If a document already exists, it will be overwritten.
If a record already exists, it will be overwritten.
Press <enter> to proceed, Ctrl-C to abort.

Reading /Users/roger/test.json... (may take a minute)
Preparing JSON for import... (may take a minute)
Importing [=================================================] 100% (9431/9431)
Import completed.

Keywords

flybase

FAQs

Package last updated on 30 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts