added package.json

This commit is contained in:
andris9 2011-06-13 23:20:44 +03:00
parent 2544146665
commit 49190e7590
3 changed files with 48 additions and 0 deletions

16
LICENSE Normal file
View File

@ -0,0 +1,16 @@
Copyright (c) 2011 Andris Reinman
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -10,6 +10,8 @@
## Usage ## Usage
var EPub = require("epub");
var epub = new EPub(epubfile, imagewebroot, chapterwebroot); var epub = new EPub(epubfile, imagewebroot, chapterwebroot);
Where Where

30
package.js Normal file
View File

@ -0,0 +1,30 @@
{
"name": "epub",
"description": "Parse ePub electronic book files with Node.JS",
"version": "0.1.0",
"author" : "Andris Reinman",
"maintainers":[
{
"name":"andris",
"email":"andris@node.ee"
}
],
"homepage": "http://github.com/andris9/epub",
"repository" : {
"type" : "git",
"url" : "http://github.com/andris9/epub.git"
},
"main" : "./epub",
"licenses" : [
{
"type": "MIT",
"url": "http://github.com/andris9/epub/blob/master/LICENSE"
}
],
"dependencies": {
"zipfile":"*",
"xml2js":"*",
},
"engine": [ "node >=0.3.0" ],
"keywords": ["epub","books"]
}