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

dmp-template-data

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dmp-template-data - npm Package Compare versions

Comparing version 0.1.0 to 0.2.1

dist/dmp-template-data.js

14

package.json
{
"name": "dmp-template-data",
"version": "0.1.0",
"version": "0.2.1",
"description": "component to analyze template DOM",
"main": "src/index.js",
"main": "dist/dmp-template-data.js",
"scripts": {
"test": "./node_modules/karma/bin/karma start"
"start": "NODE_ENV=development $(npm bin)/webpack --watch",
"build": "NODE_ENV=production $(npm bin)/webpack",
"test": "NODE_ENV=test $(npm bin)/karma start --single-run",
"test:watch": "NODE_ENV=test $(npm bin)/karma start"
},

@@ -25,2 +28,6 @@ "repository": {

"babel-register": "^6.8.0",
"eslint": "2.12.0",
"eslint-loader": "^1.5.0",
"eslint-config-airbnb-base": "3.0.1",
"eslint-plugin-import": "1.8.1",
"jasmine": "~2.0.1",

@@ -33,5 +40,4 @@ "karma": "^0.13.22",

"karma-webpack": "^1.7.0",
"sinon": "^1.10.3",
"webpack": "^1.13.0"
}
}

@@ -75,2 +75,16 @@ # dmp-template-data

### templateData.getVariations(dom)
* `dom` < Document Object >
It returns an array of the variations.
For example:
```javascript
templateData.getVariations(document)
// return => [{ name: 'Variation', file: 'beautiful.css', color: 'red'}]
```
## Contribution

@@ -77,0 +91,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