@eyedea-sockets/event
v0.0.1
Published
Syncano Socket for storing Event type of data
Downloads
3
Readme
Syncano Socket for storing Event type of data
Main Socket features:
- event/add — add Event object
- event/update — update Event object
- event/delete — delete Event object
Getting Started
Install package in your project:
cd my_project
npm install @syncano/cli --save-dev
npm install @eyedea-sockets/event --save
npx s deploy
Use it:
import Syncano from '@syncano/client'
const s = new Syncano(<instaneName>)
// PostalAddress params
const params = {
name: 'TypeScript training',
startDate: '1948-09-06T04:36:47.236Z',
endDate: '1960-04-24T02:02:29.279Z'
}
const suggestions = await s.post('event/add', params)