Seshver is version standard for the purpose of versioning content that is to delivered in units or slots - termed as "sessions".
It takes the same form as semver, but semantic meaning is different.
//usage: | |
cmds({ | |
__proto__: {general: 'pattern'}, | |
a: {specificying:'pattern'} | |
}) | |
.$a(function (err, args) { | |
console.log(args, Object.keys(args)) | |
}) | |
//after 1.5 secs logs Object {specificying: "pattern", general: "pattern"} ["specificying"] |
//usage: | |
cmds({ | |
$: {general: 'pattern'}, | |
a: {specificying:'pattern'} | |
}) | |
.$a(function (err, args) { | |
console.log(args, Object.keys(args)) | |
}) | |
//after 1.5 secs logs Object {specificying: "pattern", general: "pattern"} ["specificying", "general"] |
Verifying that +clements is my Bitcoin username. You can send me #bitcoin here: https://onename.io/clements |
{ | |
"name": "npm-dependents", | |
"version": "1.0.1", | |
"dependencies": { | |
"JSONStream": { | |
"version": "0.10.0", | |
"from": "JSONStream@*", | |
"resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-0.10.0.tgz", | |
"dependencies": { | |
"jsonparse": { |
//fails: | |
var c = 0 | |
seneca.add({role: 'user', cmd: 'create'}, function(args, callback) { | |
if (c++ < 1) callback(null) | |
else { | |
var err = {}; | |
err.statusCode = 409; | |
callback(err); | |
} | |
}) |
```js | |
console.log('will not currently highlight in deck') | |
``` | |
```javascript | |
console.log('will not highlight in deck') | |
``` |
We need an Open Source alternative to AMP.
We need an Open Source alternative to AMP.
const bench = require('fastbench') | |
function valuesFn (array) { | |
var i = 0 | |
return function (abort, cb) { | |
if(i >= array.length) | |
cb(true) | |
else | |
cb(null, array[i++]) | |
} |