0.0.1 • Published 12 years ago

roomy v0.0.1

Weekly downloads
2
License
-
Repository
github
Last release
12 years ago

build status

Roomy

Parse Japanese real estate room descriptions like 1LDK into objects.

Overview

With roomy, you can parse strings like 1LDK into objects like this:

{
  "rooms": 1,
  "living_room": true,
  "dining_room": true,
  "kitchen": true
}

You can also turn them back into their string representation!

Installation

$ npm install roomy

OR

$ git clone git://github.com/deoxxa/roomy.git node_modules/roomy

Usage

#!/usr/bin/env node

var roomy = require("roomy");

var object = roomy.parse("1LDK");

console.log(object);

var string = roomy.generate(object);

console.log(string);

License

3-clause BSD. A copy is included with the source.

Contact