Skip to content

Instantly share code, notes, and snippets.

@robertpitt
Created July 11, 2015 23:08
Show Gist options
  • Save robertpitt/fe150ce2cff85fb6148a to your computer and use it in GitHub Desktop.
Save robertpitt/fe150ce2cff85fb6148a to your computer and use it in GitHub Desktop.
/**
* require Kue
*/
var kue = Npm.require('kue'),
queue = kue.createQueue();
// Use Kue/queue here!
console.log(queue);
Package.describe({
name: 'atomic:kue',
version: '0.0.1',
// Brief, one-line summary of the package.
summary: '',
// URL to the Git repository containing the source code for this package.
git: '',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Npm.depends({
"kue" : "0.9.3"
})
Package.onUse(function(api) {
api.versionsFrom('1.1.0.2');
api.addFiles('kue.js', "server");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment