{"id":20934592,"url":"https://github.com/erudika/para-client-js","last_synced_at":"2026-06-12T10:00:13.758Z","repository":{"id":34351284,"uuid":"38272923","full_name":"Erudika/para-client-js","owner":"Erudika","description":"JavaScript Client for Para","archived":false,"fork":false,"pushed_at":"2026-06-12T08:06:50.000Z","size":1731,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-12T08:09:12.253Z","etag":null,"topics":["api-client","backend-services","javascript","para"],"latest_commit_sha":null,"homepage":"https://paraio.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Erudika.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-06-29T21:44:44.000Z","updated_at":"2026-06-12T08:06:50.000Z","dependencies_parsed_at":"2024-11-18T22:10:04.593Z","dependency_job_id":"a8673b99-a5a9-49e8-902e-22a74274a56d","html_url":"https://github.com/Erudika/para-client-js","commit_stats":{"total_commits":121,"total_committers":4,"mean_commits":30.25,"dds":0.04958677685950408,"last_synced_commit":"4f9d160c276162cb06a44b8f5b71727053976be5"},"previous_names":[],"tags_count":79,"template":false,"template_full_name":null,"purl":"pkg:github/Erudika/para-client-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erudika%2Fpara-client-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erudika%2Fpara-client-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erudika%2Fpara-client-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erudika%2Fpara-client-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Erudika","download_url":"https://codeload.github.com/Erudika/para-client-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erudika%2Fpara-client-js/sbom","scorecard":{"id":46673,"data":{"date":"2025-08-11","repo":{"name":"github.com/Erudika/para-client-js","commit":"8d34ae571ba6d9f8164a3784b02198f4d2c2f993"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T22:55:27.102Z","repository_id":34351284,"created_at":"2025-08-14T22:55:27.102Z","updated_at":"2025-08-14T22:55:27.102Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34238714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","backend-services","javascript","para"],"created_at":"2024-11-18T22:09:57.067Z","updated_at":"2026-06-12T10:00:13.647Z","avatar_url":"https://github.com/Erudika.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](https://s3-eu-west-1.amazonaws.com/org.paraio/para.png)\n\n# JavaScript Client for Para\n\n[![npm version](https://badge.fury.io/js/para-client-js.svg)](http://badge.fury.io/js/para-client-js)\n[![Join the chat at https://gitter.im/Erudika/para](https://badges.gitter.im/Erudika/para.svg)](https://gitter.im/Erudika/para?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n## What is this?\n\n**Para** was designed as a simple and modular backend framework for object persistence and retrieval.\nIt helps you build applications faster by taking care of the backend. It works on three levels -\nobjects are stored in a NoSQL data store or any old relational database, then automatically indexed\nby a search engine and finally, cached.\n\nThis is the JavaScript client for Para.\n\n### Quick start\n\n```sh\nnpm install para-client-js --save\n```\n\n## Usage\n\nInitialize the client in your code like so:\n\n```js\nimport { ParaClient } from 'para-client-js';\nvar pc = new ParaClient('ACCESS_KEY', 'SECRET_KEY');\n```\n\nIf your code runs in a browser environment, you should use a **blank secret key** and then call `signIn()`:\n\n```\npc.signIn(\"password\", \"{email}::{password}\", function(user) {\n  // do something with the newly created user\n});\n```\n\nIt's a bad idea to hardcode your Para secret key in your code because it will run in an insecure client-side environment. Instead use the `signIn()` method to get an access token (JWT) with limited client permissions. Think of it like this: API key+secret = **full API access**, `paraClient.signIn()` = **limited API access** for clients with JWT tokens.\nYou can have a [special user object created](http://paraio.org/docs/#034-api-jwt-signin) just for your JS app and assign it special permissions so that your app can access a part of the Para API before authenticating another real user. [Read the documentation for more information about client permissions](http://paraio.org/docs/#012-permissions).\nFor granting resource permissions to your client users go to [console.paraio.org](https://console.paraio.org) where you can edit your app object and allow your users the call specific API methods.\n\n## Browser usage\n\nTo use `para-client-js` in the browser run:\n\n```sh\nnpm install\nnpm run build\n```\n\nThis will generate `dist/browser/para-client-js.global.iife.js` which you can include directly in the browser:\n\n```html\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cscript src=\"dist/browser/para-client-js.global.iife.js\"\u003e\u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cscript\u003e\n      var ParaClient = require('para-client-js');\n      var pc = new ParaClient('ACCESS_KEY', 'SECRET_KEY');\n    \u003c/script\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Development\n\n- `npm run build` bundles ESM, CommonJS, and browser artifacts into `dist/` using [tsdown](https://tsdown.dev/). Types are emitted via `npm run types`.\n- `npm test` runs ESLint followed by the fast unit tests in `test/unit`.\n- Integration tests live under `test/integration` and require a running Para server. Copy `.env.example` to `.env`, adjust `PARA_*` values, then run `npm run test:integration`.\n\n## Promises and callbacks\n\nAll methods return a promise object and also accept a callback function as last parameter.\nYou can choose to either use callbacks or promises. For example:\n\n```js\n// using promises\npc.read('user', '1234').then(\n  function (user) {\n    // do something with user object\n  },\n  function (err) {\n    // request failed\n  }\n);\n\n// using callbacks\npc.read('user', '1234', function (user, err) {\n  // do something with user object\n});\n```\n\n## Documentation\n\n### [Read the Docs](https://paraio.org/docs)\n\n## Contributing\n\n1. Fork this repository and clone the fork to your machine\n2. Create a branch (`git checkout -b my-new-feature`)\n3. Implement a new feature or fix a bug and add some tests\n4. Commit your changes (`git commit -am 'Added a new feature'`)\n5. Push the branch to **your fork** on GitHub (`git push origin my-new-feature`)\n6. Create new Pull Request from your fork\n\nFor more information see [CONTRIBUTING.md](https://github.com/Erudika/para/blob/master/CONTRIBUTING.md)\n\n## License\n\n[Apache 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferudika%2Fpara-client-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferudika%2Fpara-client-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferudika%2Fpara-client-js/lists"}