@querc/squidex-client
Version:
NodeJS client for the [Squidex](https://squidex.io/) CMS
46 lines (29 loc) • 1.03 kB
Markdown
> A JS client for the [Squidex](https://squidex.io/) CMS
- [Node JS](https://nodejs.org/) v12(?)
```sh
npm install @querc/squidex-client
```
```ts
// Create client
const client = new SquidexClient({
clientId: 'my-app:default',
clientSecret: 'SEKRIT',
});
// Get content from the `Posts` schema
const posts = await client.query('Posts');
posts.items.forEach(post => {
console.log(post.title);
});
```
See [`examples`](https://unpkg.com/@querc/squidex-client/examples/) for more detailed usage.
Squidex Client is built using TypeScript, so types are installed with the package.
Check out the [API docs](https://unpkg.com/@querc/squidex-client/docs/index.html).
You can raise issues or propose feature requests in the [Bitbucket issue tracker](https://bitbucket.org/lindsayevans/node-squidex-client/issues).
See [`CONTRIBUTING.md`](https://unpkg.com/@querc/squidex-client/CONTRIBUTING.md).