Project files

This commit is contained in:
2023-11-09 18:47:11 +01:00
parent 695abe054b
commit c415135aae
8554 changed files with 858111 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2013 Aria Minaei
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 above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
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

@@ -0,0 +1,3 @@
Converts bare objects to DOM objects, compatible with htmlparser2's DOM objects.
This is useful when you want to work with DOM without having to compose/parse html.

View File

@@ -0,0 +1,38 @@
{
"name": "dom-converter",
"version": "0.2.0",
"description": "converts bare objects to DOM objects or xml representations",
"main": "lib/domConverter.js",
"dependencies": {
"utila": "~0.4"
},
"devDependencies": {
"chai": "^1.10.0",
"chai-changes": "^1.3.4",
"chai-fuzzy": "^1.4.0",
"coffee-script": "^1.8.0",
"jitter": "^1.3.0",
"mocha": "^2.0.1",
"mocha-pretty-spec-reporter": "0.1.0-beta.1",
"sinon": "^1.12.2",
"sinon-chai": "^2.6.0"
},
"scripts": {
"test": "mocha \"test/**/*.coffee\"",
"test:watch": "mocha \"test/**/*.coffee\" --watch",
"compile": "coffee --bare --compile --output ./lib ./src",
"compile:watch": "jitter src lib -b",
"watch": "npm run compile:watch & npm run test:watch",
"winwatch": "start/b npm run compile:watch & npm run test:watch",
"prepublish": "npm run compile"
},
"author": "Aria Minaei",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/AriaMinaei/dom-converter"
},
"bugs": {
"url": "https://github.com/AriaMinaei/dom-converter/issues"
}
}