From 49190e7590f8c1105093cb31c00a07d397b525ca Mon Sep 17 00:00:00 2001 From: andris9 Date: Mon, 13 Jun 2011 23:20:44 +0300 Subject: [PATCH] added package.json --- LICENSE | 16 ++++++++++++++++ README.md | 2 ++ package.js | 30 ++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 LICENSE create mode 100644 package.js diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2950902 --- /dev/null +++ b/LICENSE @@ -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. \ No newline at end of file diff --git a/README.md b/README.md index 7169e30..6285b8c 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ ## Usage + var EPub = require("epub"); + var epub = new EPub(epubfile, imagewebroot, chapterwebroot); Where diff --git a/package.js b/package.js new file mode 100644 index 0000000..d5bbc21 --- /dev/null +++ b/package.js @@ -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"] +}