Socket
Socket
Sign inDemoInstall

built

Package Overview
Dependencies
23
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    built

built.io JavaScript SDK


Version published
Weekly downloads
279
increased by66.07%
Maintainers
1
Install size
1.56 MB
Created
Weekly downloads
 

Readme

Source

Built.io JS SDK

© Raw Engineering, Inc (www.raweng.com) 2013, Licensed under the MIT-LICENSE

A Javascript SDK for built.io service for node.js (0.6.x and up). Hides most of the complexity of creating, maintaining built.io objects and sessions.

For more information visit http://built.io and http://manage.built.io .

Features

  • Works in Browsers as well as in Servers (NodeJS)
  • Simple service wrapper that allows you to easily put together all built.io REST API libraries
  • Easy to create Application User
  • User management
  • Create objects in built.io applications
  • Update objects in buil.io applications
  • Delete Objects in built.io applications
  • File management
  • Highly customise query to built.io
  • BuiltModel to Backbone.Model conversion support
  • Model binding for each built.io objects
  • Promise on all REST calls

Example usage

var Built = require('built');
var application_api_key = 'YOUR APPLICATION API KEY' ;
var application_uid = 'YOUR APPLICATION UID' ;

Built.initialize(application_api_key, application_uid); // init built SDK using application_api_key and application_uid


var query = new Built.Query('employee'/*class_uid*/); // create new built Query Object
query.greaterThan('age', 30); // add query 
query.exec(/* execute query */)
.success(function(data){
	console.log(data);
})
.error(function(err){
	console.log(err);
});


var employee = new Built.Object('employee'/*class_uid*/); 
employee.set({ /* set attributes in newly created object */
	name:'jack',
	age:32
});
employee.set('gender', 'male'); // set attribute using key, value type
employee.save()
.success(function(data){
	/* object saved */
})
.error(function(err){
	/* oops error */
});

npm install built --save

FAQs

Last updated on 23 Sep 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc