roomy
v0.0.1
Published
Parse Japanese real estate room descriptions like 1LDK into objects
Downloads
3
Readme
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
- GitHub (deoxxa)
- Twitter (@deoxxa)
- ADN (@deoxxa)
- Email ([email protected])