Skip to content
Branch: master
Clone or download
YoshinoriN Merge pull request #40 from hexojs/dependabot/npm_and_yarn/mocha-tw-6…
….0.2

Update mocha requirement from ^5.2.0 to ^6.0.2
Latest commit 297ac5f Mar 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis
lib
test Changed to return plain object Sep 20, 2018
.eslintignore Build docs on travis Jan 3, 2016
.eslintrc
.gitignore
.jsdoc.json Generate docs with JSDoc Jan 2, 2016
.npmignore
.travis.yml no use jscs from travis Aug 9, 2018
LICENSE
README.md
package.json Update mocha requirement from ^5.2.0 to ^6.0.2 Feb 26, 2019

README.md

Warehouse

Build Status NPM version Coverage Status

A JSON database with Models, Schemas, and a flexible querying interface. It powers the wildly successful static site generator Hexo.

Installation

$ npm install warehouse

Usage

var Database = require('warehouse');
var db = new Database();

var Post = db.model('posts', {
  title: String,
  created: {type: Date, default: Date.now}
});

Post.insert({
  title: 'Hello world'
}).then(function(post){
  console.log(post);
});

Test

$ npm test
You can’t perform that action at this time.