🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

sequelize-cps

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sequelize-cps - npm Package Compare versions

Comparing version

to
1.0.5

2

package.json
{
"name": "sequelize-cps",
"version": "1.0.4",
"version": "1.0.5",
"description": "Add CPS, error-first callbacks to sequelize",

@@ -5,0 +5,0 @@ "main": "index.js",

#sequelize-cps
Adds CPS functionality to sequelize via [customulize](https://www.npmjs.org/package/customulize) for cases when __.complete, .success, .save__
just aren't for you.
Adds [CPS](http://en.wikipedia.org/wiki/Continuation-passing_style) functionality
([Error First](http://fredkschott.com/post/2014/03/understanding-error-first-callbacks-in-node-js/))
to sequelize via [customulize](https://www.npmjs.org/package/customulize) for cases when __.complete, .success, .save__ just aren't for you.
* [CPS](http://en.wikipedia.org/wiki/Continuation-passing_style)
* [Error First](http://fredkschott.com/post/2014/03/understanding-error-first-callbacks-in-node-js/)
##Installation

@@ -38,13 +34,2 @@

##kgo
When using [kgo](https://www.npmjs.org/package/kgo) this is especially convenient.
kgo
('account', Account.cps.find.bind(null, {where: {id: 1}}))
('update', ['account'], function(account, done) {
account.name = 'John';
account.cps.save(done);
})
// etc, etc, etc
Pull requests welcome with passing tests.