Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

inputformat-to-jstransformer

Package Overview
Dependencies
Maintainers
6
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inputformat-to-jstransformer - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

34

dictionary.json

@@ -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 @@

7

index.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc