Daptin Client for Node/JS/TS ecosystem which extends over the basic JSON API calls and allowes you to execute Action APIs as well handling user auth configurably using a tokenGetter.
Checkout starter kit here: https://github.com/daptin/vue_typescript_starter_kit
npm install daptin-client --save
yarn add daptin-client
import {DaptinClient} from 'daptin-client'
const daptinClient = new DaptinClient("http://localhost:6336", false);
daptinClient.worldManager.loadModels().then(function () {
daptinClient.jsonApi.findAll("todo").then(function(res: any){
console.log("all todos", res.data)
})
})
npm adduser
npm publish