Node.js REST API wrapper for Salesforce (force.com, database.com, salesforce.com). Version 0.0.3, last published around 2012. This library is deprecated and unmaintained; users should migrate to nforce. It provides OAuth 2.0 flows, sObject CRUD operations, query support, and intelligent record update caching. No longer receives updates and has known issues with newer Salesforce API versions.
npm install forceNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a connection, authenticating with username/password, and inserting an sObject.
Replace require('force') with require('nforce') and adjust API calls.For multi-user, always pass the oauth object as first argument after the record.
Explicitly set apiVersion to a supported version like 'v52.0'.
Use either 'production' or 'sandbox' exactly.
Migrate to nforce or another maintained library.
Run: npm install force
Verify the client ID from your Salesforce Remote Access Application.
Check username and password, ensure IP is whitelisted, or use Authorization Code flow.
Check authentication callback for errors before accessing oauth properties.
No dependency data recorded yet.