{"id":21224284,"url":"https://github.com/swellstores/swell-node","last_synced_at":"2025-04-13T11:05:48.602Z","repository":{"id":38890205,"uuid":"174934194","full_name":"swellstores/swell-node","owner":"swellstores","description":"Swell NodeJS library for building storefronts and checkouts with Swell ecommerce.","archived":false,"fork":false,"pushed_at":"2024-10-18T22:44:05.000Z","size":448,"stargazers_count":19,"open_issues_count":3,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-11T18:56:52.433Z","etag":null,"topics":["ecommerce","javascript","nodejs","storefront","swell"],"latest_commit_sha":null,"homepage":"https://swell.is","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swellstores.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}},"created_at":"2019-03-11T05:52:17.000Z","updated_at":"2024-10-18T22:44:09.000Z","dependencies_parsed_at":"2024-11-20T22:57:43.722Z","dependency_job_id":"4140e3cb-6272-4e7c-b046-6712989c8388","html_url":"https://github.com/swellstores/swell-node","commit_stats":{"total_commits":60,"total_committers":8,"mean_commits":7.5,"dds":"0.44999999999999996","last_synced_commit":"2e84314438b673cb9386983cb5e2de896aa5dfd6"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swellstores%2Fswell-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swellstores%2Fswell-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swellstores%2Fswell-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swellstores%2Fswell-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swellstores","download_url":"https://codeload.github.com/swellstores/swell-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703200,"owners_count":21148118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ecommerce","javascript","nodejs","storefront","swell"],"created_at":"2024-11-20T22:57:33.981Z","updated_at":"2025-04-13T11:05:48.569Z","avatar_url":"https://github.com/swellstores.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Swell API library for NodeJS\n\n[Swell](https://www.swell.is) is a customizable, API-first platform for powering modern B2C/B2B shopping experiences and marketplaces. Build and connect anything using your favorite technologies, and provide admins with an easy to use dashboard.\n\n## Install\n\n    npm install swell-node --save\n\n## Connect\n\n```javascript\nconst { swell } = require('swell-node');\n\nswell.init('my-store', 'secret-key');\n```\n\nTo connect to multiple stores in the same process, use `swell.createClient()`:\n\n```javascript\nconst { swell } = require('swell-node');\n\nconst client1 = swell.createClient('my-store-1', 'secret-key-1');\nconst client2 = swell.createClient('my-store-2', 'secret-key-2');\n```\n\n## Usage\n\n```javascript\ntry {\n  const { data } = await swell.get('/products', {\n    active: true\n  });\n  console.log(data);\n} catch (err) {\n  console.error(err.message);\n}\n```\n\n## Documentation\n\nThis library is intended for use with the Swell Backend API: https://developers.swell.is/backend-api\n\n## Contributing\n\nPull requests are welcome\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswellstores%2Fswell-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswellstores%2Fswell-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswellstores%2Fswell-node/lists"}