GitXplorerGitXplorer
b

imponderous

public
2 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
7003aada95cfe06d1a89843de4c09d1e4ceae3f4

Make "spam" property on test User model a String.

bbenhutchins committed 9 years ago
Unverified
eff16d26a87eb610565504e657e4677c6a0971f3

Rough start to having real schema types.

bbenhutchins committed 9 years ago
Unverified
3176f0d8b99515dbce2980ace6f5ce064b256530

New singleton class allows you to have a collection which acts like a singleton (only one item).

bbenhutchins committed 9 years ago
Unverified
645983b46ca946f35bd7c8bb1c7a022b03020f2d

Adding custom error classes.

bbenhutchins committed 9 years ago
Unverified
ab307649263d4c5dd3c9f24e228e1490bf768b0f

Broke out document methods into separate file.

bbenhutchins committed 9 years ago
Unverified
92290168d11bd569b64bb20910263ebad22052c3

Model.reindex() needs to return the promise returned by Model.all()

bbenhutchins committed 9 years ago

README

The README file for this repository.

Imponderous Build Status

Let's face it, sometimes you want a simple database that's fast, quick, speedy, swift and just downright blazing. That's why I wrote Imponderous.

let imponderous = require('imponderous')

imponderous.connect(__dirname + '/db')

class Cat extends imponderous.Model {
  static get schema () {
    return { name: String }
  }
}

let kitty = new Cat({ name: 'Zildjian' })

kitty.save().catch(function (err) {
  // ...
}).then(function () {
  console.log('meow')
})

Imponderous is an extremely simple, straight-forward, schema-based modeling wrapper on top of a document-oriented database that relies on actual files on a disk. It includes built-in type casting, validation, query building and more out of the box. It offers amazing utilities on top of simple text files giving you a powerful database alternative.

Getting Started