{"id":16145,"library":"node-parse-api","title":"Parse.com REST API Client for Node.js","description":"This `node-parse-api` library serves as a Node.js client for the Parse.com REST API, offering functionalities like data insertion, user management (login, registration), file uploads, and querying objects. At version 0.3.8, it reflects an early period of Node.js and the Parse.com platform. A critical aspect of this package is its tight coupling to the original Parse.com hosted service, which was officially shut down in January 2017. Consequently, while the package itself is available, its primary utility for connecting to `api.parse.com` is obsolete. There is no indication of active development or a release cadence, and it is likely abandoned, primarily existing as historical reference for developers who might have used the original Parse.com platform. Its design predates modern JavaScript module systems, relying exclusively on CommonJS.","status":"abandoned","version":"0.3.8","language":"javascript","source_language":"en","source_url":"https://github.com/leveton/node-parse-api","tags":["javascript","parse","mbaas","rest","push notifications","api"],"install":[{"cmd":"npm install node-parse-api","lang":"bash","label":"npm"},{"cmd":"yarn add node-parse-api","lang":"bash","label":"yarn"},{"cmd":"pnpm add node-parse-api","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This package exports a named 'Parse' property from its main module. It is CommonJS only and does not support ES Modules directly.","wrong":"import { Parse } from 'node-parse-api';","symbol":"Parse","correct":"const { Parse } = require('node-parse-api');"},{"note":"The 'Parse' constructor should be used after being destructured from the `require` call for cleaner syntax and to avoid re-requiring the module.","wrong":"const ParseClient = new require('node-parse-api').Parse(APP_ID, MASTER_KEY);","symbol":"ParseClient (instance)","correct":"const ParseClient = new Parse(APP_ID, MASTER_KEY);"}],"quickstart":{"code":"const { Parse } = require('node-parse-api');\n\nconst APP_ID = process.env.PARSE_APP_ID ?? '';\nconst MASTER_KEY = process.env.PARSE_MASTER_KEY ?? '';\n\n// Ensure environment variables are set or replace with actual values (not recommended for production)\nif (!APP_ID || !MASTER_KEY) {\n  console.error('PARSE_APP_ID and PARSE_MASTER_KEY environment variables must be set.');\n  process.exit(1);\n}\n\nconst app = new Parse(APP_ID, MASTER_KEY);\n\n// Insert an object into a 'Foo' class\napp.insert('Foo', { foo: 'bar', timestamp: new Date() }, function (err, response) {\n  if (err) {\n    console.error('Error inserting object:', err);\n    return;\n  }\n  console.log('Successfully inserted object:', response);\n  // A real application would typically have more operations here.\n  // Given Parse.com is shut down, this example is primarily illustrative.\n});","lang":"javascript","description":"Initializes the Parse API client with an App ID and Master Key and demonstrates inserting a new object into a Parse class. Note: This library targets the now-defunct Parse.com service."},"warnings":[{"fix":"This package is effectively obsolete for its original purpose. Developers should migrate to an alternative Parse Server client (e.g., the official `parse` npm package which targets self-hosted Parse Server instances) or a completely different backend solution.","message":"The Parse.com hosted service, which this library directly targets (`api.parse.com`), was officially shut down on January 28, 2017. This package is **not functional** for its original purpose of connecting to the cloud-hosted Parse.com backend.","severity":"breaking","affected_versions":">=0.0.1"},{"fix":"Avoid using this package in new projects. For historical projects, a full migration to a modern Parse SDK or another backend is strongly recommended.","message":"This package is not actively maintained. It was last published almost a decade ago and targets very old Node.js runtimes (specified as `>= 0.4.0`). Using it with modern Node.js versions may lead to unexpected behavior, compatibility issues, or security vulnerabilities due to unpatched dependencies.","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"Ensure your project is configured for CommonJS, or use `const { Parse } = require('node-parse-api');` in a context where CommonJS interoperability is supported.","message":"The library explicitly uses CommonJS `require()` syntax. It does not natively support ES Modules (`import`) and attempting to use `import { Parse } from 'node-parse-api';` in an ESM-only context will result in a runtime error.","severity":"gotcha","affected_versions":">=0.0.1"}],"env_vars":null,"last_verified":"2026-04-21T00:00:00.000Z","next_check":"2026-07-20T00:00:00.000Z","problems":[{"fix":"This library is designed for the defunct Parse.com service. If attempting to connect to a self-hosted Parse Server, this specific library might not be suitable or require internal modifications (e.g., `Parse._api_host`). Consider using the official `@parse/node` or `parse` npm packages instead.","cause":"The application is attempting to connect to `api.parse.com` which is no longer active, or a misconfigured self-hosted Parse Server is unreachable.","error":"Error: connect ECONNREFUSED"},{"fix":"Ensure you are instantiating the `Parse` client correctly after requiring it: `const { Parse } = require('node-parse-api'); const app = new Parse(APP_ID, MASTER_KEY);`","cause":"The `Parse` object was not correctly instantiated as a client instance, or the imported `Parse` object is not the expected constructor.","error":"TypeError: app.insert is not a function"},{"fix":"Run `npm install node-parse-api` to add the package to your project dependencies.","cause":"The package has not been installed or is not correctly linked in the project.","error":"Cannot find module 'node-parse-api'"}],"ecosystem":"npm"}