UNPKG

@querc/squidex-client

Version:

NodeJS client for the [Squidex](https://squidex.io/) CMS

46 lines (29 loc) 1.03 kB
# Squidex Client > A JS client for the [Squidex](https://squidex.io/) CMS ## Requirements - [Node JS](https://nodejs.org/) v12(?) ## Installation ```sh npm install @querc/squidex-client ``` ## Usage ```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. ## TypeScript Squidex Client is built using TypeScript, so types are installed with the package. ## API Documentation Check out the [API docs](https://unpkg.com/@querc/squidex-client/docs/index.html). ## Contributing 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).