{"_id":"@64bitlabs/frappe-javascript-sdk","name":"@64bitlabs/frappe-javascript-sdk","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@64bitlabs/frappe-javascript-sdk","version":"0.0.1","description":"A JavaScript SDK for Frappe Framework","main":"dist/src/index.js","types":"dist/types/src/index.d.ts","engines":{"node":">=14"},"bin":{"ftypes":"dist/src/bin/cli.js"},"license":"Apache-2.0","keywords":[],"scripts":{"test:node":"jest --config=jest.config.ts --coverage","test:browser":"jest --config=jest.dom.config.ts --coverage","test":"npm run test:node && npm run test:browser","merge:report":"istanbul report","doc":"typedoc --plugin typedoc-plugin-missing-exports src/index.ts","compile":"tsc","dev:cli":"ts-node bin/cli.ts","build":"npm run compile && npm run doc"},"devDependencies":{"@jest/globals":"^29.7.0","@types/jest":"^29.5.12","@types/node":"^22.5.0","dotenv":"^16.4.5","gts":"^5.3.1","istanbul":"^0.4.5","istanbul-reports":"^3.1.7","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typedoc":"^0.26.6","typedoc-plugin-missing-exports":"^3.0.0","typescript":"^5.4.3"},"dependencies":{"@types/lodash":"^4.17.7","@types/tough-cookie":"^4.0.5","axios":"^1.7.5","axios-cookiejar-support":"^5.0.2","commander":"^12.1.0","lodash":"^4.17.21","tough-cookie":"^4.1.4"},"directories":{"doc":"docs","test":"tests"},"author":{"name":"the64bitlabs"},"_id":"@64bitlabs/frappe-javascript-sdk@0.0.1","gitHead":"246c8b1420ba03f90d40a4a580bc096e2c644984","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-YrfbT+QmB8XdEC0GXFra4qRLeSTuRi8Ei4LZiFPrSq/Jlov2gNeRg3+R0q+NDKq+epr0L9yJWMCJl4vjT7Rqvg==","shasum":"2e7e0f7f1aa2504083350a44971a7c0aa7aaf578","tarball":"https://registry.npmjs.org/@64bitlabs/frappe-javascript-sdk/-/frappe-javascript-sdk-0.0.1.tgz","fileCount":63,"unpackedSize":160773,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIETBlnaUzGlepiMjZXIxvGBYq6+XwDfTz5jtSzEDzwzIAiBlw3hLxOxSWK1uEEm4bF2+Nudm1E6zOlmhy9rg7N2IBw=="}]},"_npmUser":{"name":"the64bitlabs","email":"the64bitlabs@gmail.com"},"maintainers":[{"name":"the64bitlabs","email":"the64bitlabs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/frappe-javascript-sdk_0.0.1_1741425561655_0.8786462309083776"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-08T09:19:21.593Z","0.0.1":"2025-03-08T09:19:21.905Z","modified":"2025-03-08T09:19:22.158Z"},"maintainers":[{"name":"the64bitlabs","email":"the64bitlabs@gmail.com"}],"description":"A JavaScript SDK for Frappe Framework","keywords":[],"author":{"name":"the64bitlabs"},"license":"Apache-2.0","readme":"## Frappe JavaScript SDK\n\nThis is a basic JavaScript SDK Made to work with Frappe Framework. The Overall goal of this Library is to Make Integrations to Frappe backend Easy. This Library Contains Following Things\n\n\n1. Basic Methods Like Get, List, Update\n2. Authentication to Any Site using Login & Password\n3. Easy Types Generation\n4. Support for Both Node & Browser\n\n##### Setup\n\n```sh\nyarn add frappe-sdk\n```\n\nOnce the Installation is Done You need to Configure it if you are using it for NodeJS or in Browser if CORS is Setup from your Side\n\n```\nimport {setBaseURL} from 'frappe-sdk'\n\nsetBaseURL('https://example.com')\n```\n\n> If you are in browser and you have proxy setted up then you don't require above step to do\n\n#### Methods\n\n## Auth\n\nOnce the Login is Done it Maintains it's Session.\n\n```\nimport {login, logout} from 'frappe-sdk'\n\nawait login(usr, pwd);\nawait logout()\n```\n\n## Docs \n\nThe Official Documentation is Available at `frappesdk.64bitlabs.com`\n\nLicense: Apache-2.0\n\nPowered By [64BitLabs](https://64bitlabs.com)\n","readmeFilename":"README.md","_rev":"1-e61c483e60681322f8afb3c6020bf45a"}