Comparing version 1.0.1 to 1.0.2
'use strict' | ||
module.exports = { | ||
prefixProperties: require('./prefixProperties') , | ||
object: require('./toStyleObject'), | ||
string: require('./toStyleString') | ||
prefixProperties: require('./src/prefixProperties') , | ||
object: require('./src/toStyleObject'), | ||
string: require('./src/toStyleString') | ||
} |
{ | ||
"name": "to-style", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Convert style objects to style strings", | ||
"main": "index.js", | ||
"scripts": { | ||
"build": "browserify --standalone toStyle index.js -o dist/toStyle.js", | ||
"test": "make test", | ||
@@ -8,0 +9,0 @@ "test-w": "make test-w", |
@@ -53,3 +53,10 @@ toStyle | ||
## Usage in browser | ||
In browser, make sure you add ```dist/toStyle.js``` to your page. This exposes a global ```toStyle``` variable. | ||
```js | ||
var toStyleString = toStyle.string | ||
var toStyleObject = toStyle.object | ||
``` |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
58008
21
1431
61
4