@querc/squidex-client
v1.0.1
Published
NodeJS client for the [Squidex](https://squidex.io/) CMS
Downloads
35
Readme
Squidex Client
A JS client for the Squidex CMS
Requirements
- Node JS v12(?)
Installation
npm install @querc/squidex-client
Usage
// 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
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.
Contributing
You can raise issues or propose feature requests in the Bitbucket issue tracker.
See CONTRIBUTING.md
.