inputformat-to-jstransformer
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -46,2 +46,5 @@ { | ||
], | ||
"consolidate": [ | ||
"jstransformer-consolidate" | ||
], | ||
"cson": [ | ||
@@ -57,2 +60,5 @@ "jstransformer-cson" | ||
], | ||
"css-beautify": [ | ||
"jstransformer-css-beautify" | ||
], | ||
"css-whitespace": [ | ||
@@ -64,2 +70,5 @@ "jstransformer-css-whitespace" | ||
], | ||
"duo": [ | ||
"jstransformer-duo" | ||
], | ||
"dust": [ | ||
@@ -124,2 +133,5 @@ "jstransformer-dust" | ||
], | ||
"html-beautify": [ | ||
"jstransformer-html-beautify" | ||
], | ||
"htmlmin": [ | ||
@@ -138,2 +150,8 @@ "jstransformer-html-minifier" | ||
], | ||
"jqtpl": [ | ||
"jstransformer-jqtpl" | ||
], | ||
"js-beautify": [ | ||
"jstransformer-js-beautify" | ||
], | ||
"jscss": [ | ||
@@ -145,2 +163,5 @@ "jstransformer-jscss" | ||
], | ||
"jsrender": [ | ||
"jstransformer-jsrender" | ||
], | ||
"jstransformer": [ | ||
@@ -225,7 +246,6 @@ "jstransformer-jstransformer" | ||
"styl": [ | ||
"jstransformer-styl", | ||
"jstransformer-stylus" | ||
"jstransformer-styl" | ||
], | ||
"stylus": [ | ||
"jstransformer-stylus" | ||
"stylecow": [ | ||
"jstransformer-stylecow" | ||
], | ||
@@ -250,2 +270,8 @@ "supermarked": [ | ||
], | ||
"ts": [ | ||
"jstransformer-typescript" | ||
], | ||
"typescript": [ | ||
"jstransformer-typescript" | ||
], | ||
"uglify-js": [ | ||
@@ -252,0 +278,0 @@ "jstransformer-uglify-js" |
# Changelog | ||
## v1.1.0: 2015-07-08 | ||
- Added `.dictionary` | ||
## v0.0.2: 2015-07-03 | ||
@@ -4,0 +8,0 @@ |
@@ -14,7 +14,8 @@ 'use strict' | ||
return requireOne(dictionary[inputFormat]) | ||
} catch (e) { | ||
return null | ||
} | ||
catch (e) { | ||
return null; | ||
} | ||
} | ||
} | ||
module.exports.dictionary = dictionary |
{ | ||
"name": "inputformat-to-jstransformer", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Load a JSTransformer from the provided inputFormat.", | ||
@@ -17,2 +17,3 @@ "keywords": [ | ||
"list-of-jstransformers": "^1.0.0", | ||
"standard": "^4.5.2", | ||
"testit": "^2.0.2" | ||
@@ -22,3 +23,3 @@ }, | ||
"build": "node build", | ||
"test": "node test" | ||
"test": "standard; node test" | ||
}, | ||
@@ -25,0 +26,0 @@ "repository": { |
@@ -27,4 +27,13 @@ # inputformat-to-jstransformer | ||
See [`dictionary.json`](dictionary.json) for a better idea of how this is done. | ||
### `.dictionary` | ||
The [`dictionary.json`](dictionary.json) array is also available: | ||
``` js | ||
var inputFormats = require('inputformat-to-jstransformer').dictionary | ||
if (inputFormats['tiff']) { | ||
console.log('Input Formats of Tiff are supported.') | ||
} | ||
## Update | ||
@@ -31,0 +40,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8972
312
48
0
6