Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

initial commit

  • Loading branch information...
commit 5b5b07993ffdc2610c04fa961ac8ff2ce3536514 0 parents
@madhums authored
2  .gitignore
@@ -0,0 +1,2 @@
+node_modules
+
10 Makefile
@@ -0,0 +1,10 @@
+REPORTER = spec
+TESTS = test/*.js
+
+test:
+ @NODE_ENV=test ./node_modules/.bin/mocha \
+ --reporter $(REPORTER) \
+ --ui bdd \
+ $(TESTS)
+
+.PHONY: test
16 README.md
@@ -0,0 +1,16 @@
+## mongoose-user
+Some generic methods, statics and virtuals used for user schemas
+
+## Installation
+
+```sh
+$ npm install mongoose-user
+```
+
+or include it in `package.json`
+
+## Usage
+todo...
+
+## License
+MIT
1  index.js
@@ -0,0 +1 @@
+exports = module.exports = require('./lib/mongoose-user')
7 lib/mongoose-user.js
@@ -0,0 +1,7 @@
+
+/*!
+ * mongoose-user
+ * Copyright(c) 2013 Madhusudhan Srinivasa <madhums8@gmail.com>
+ * MIT Licensed
+ */
+
24 package.json
@@ -0,0 +1,24 @@
+{
+ "name": "mongoose-user",
+ "version": "0.0.0",
+ "description": "Some generic methods, statics and virtuals used for user schemas",
+ "main": "index.js",
+ "scripts": {
+ "test": "make test"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/madhums/mongoose-user.git"
+ },
+ "keywords": [
+ "mongoose",
+ "user"
+ ],
+ "devDependencies": {
+ "mocha": "latest",
+ "mongoose": "latest"
+ },
+ "author": "Madhusudhan Srinivasa",
+ "license": "MIT",
+ "readmeFilename": "README.md"
+}
0  test/mongoose-user.js
No changes.
Please sign in to comment.
Something went wrong with that request. Please try again.