Registry / testing / parse-spec

parse-spec

JSON →
library0.3.0jsnpmunverified

parse-spec is a testing framework for validating API migration from Parse.com to custom backends. Version 0.3.0 is the latest stable release, but it has not been updated since 2015 and is effectively unmaintained. It provides a CLI tool to trace and verify API endpoints by comparing responses from Parse.com and a migrated server. Configuration is done via a JSON file specifying app details and class schemas. There are no actively maintained alternatives specific to Parse migration, but the package is limited to Node.js, has no support for modern ES modules, and its dependencies may be outdated.

npm install parse-spec
INSTALL
IMPORT
SIG · PARSE-SPEC
P
parse-spec
testingjavascriptv0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default (CLI tool)
npx parse-spec -c config.json -b build_dir verify
require(parse-spec)
This is a CLI tool; it is not designed for programmatic use. The package exports nothing for direct import.

Configuration file for parse-spec, specifying Parse.com and migrated endpoint details along with class definitions.

{ "app_name": "myApp", "endpoint": "http://localhost:1337/parse", "parse_endpoint": "https://api.parse.com/1/", "app_id": "myAppId", "restapi_key": "myRestKey", "master_key": "myMasterKey", "classes": [{"className": "GameScore", "fields": {"score": "number"}}] }
Debug
Known issues
deprecatedPackage is unmaintained and relies on outdated dependencies.
fix
Consider migrating to a modern testing framework like Jest or Mocha with custom API tests.
affects: >=0.0.0
gotchaCLI must be run with -c and -b flags; no default config path.
fix
Always provide full paths to config JSON and build directory.
affects: >=0.0.0
gotchaNo programmatic API; only CLI tool available.
fix
Use child_process.exec if you need to integrate into a Node.js script.
affects: >=0.0.0
deprecatedParse.com service has been shut down; this tool is only useful for migration scenarios.
fix
If you no longer use Parse.com, this package is irrelevant.
affects: >=0.0.0
Errors
Common errors & fixes
parse-spec: command not found
parse-spec is not installed globally or not in PATH
fix
npm install -g parse-spec
Error: Cannot find module 'superagent'
Missing peer dependency superagent
fix
npm install superagent
SyntaxError: Unexpected token :
JSON configuration file is malformed
fix
Validate JSON using jsonlint or a JSON validator.
TypeError: Cannot read property 'app_name' of undefined
Config file not loaded because path is incorrect or file missing
fix
Check the path provided with -c flag and ensure config.json exists.
Upgrade
Version history
0.3.0latest on npm
Audit
Dependencies
commanderrequiredCLI argument parsing
superagentrequiredHTTP requests for API calls
chairequiredAssertion library for verification
Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
parse-spec — npm install parse-spec · libregistry