npm

@querc/squidex-client
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Squidex Client

A JS client for the Squidex CMS

Requirements

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.

Readme

Keywords

Package Sidebar

Install

npm i @querc/squidex-client

Weekly Downloads

12

Version

1.0.1

License

MIT

Unpacked Size

740 kB

Total Files

75

Last publish

Collaborators

  • lindsayevans