objects-node
v1.0.0
Published
Node.js client for Segment Objects API
Downloads
66
Maintainers
Readme
objects-node
Node.js client for Segment Objects API
Setup
To install,
npm install --save objects-node
Then, in your code,
var Objects = require('objects-node');
var objects = new Objects('<your write key>')
Usage
objects.set('<collection>', '<id>', {
some_property: 'some value',
name: 'Schrodinger',
is_alive: true,
is_dead: true,
owner: 'Erwin',
birth_year: 1935
});
License
MIT