🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

craze

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

craze - npm Package Compare versions

Comparing version

to
2.0.0

31

package.json
{
"name": "craze",
"version": "1.0.0",
"description": "Next gen CSS.",
"version": "2.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "jest tests",
"craze": "node bin/craze"
"test": "echo \"Error: no test specified\" && exit 1"
},
"bin": {
"craze": "bin/craze"
},
"author": "Jamen Marz",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"jest-cli": "latest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jamen/craze.git"
"url": "git+https://github.com/npm/deprecate-holder.git"
},
"keywords": [
"css",
"preprocessor"
],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/jamen/craze/issues"
"url": "https://github.com/npm/deprecate-holder/issues"
},
"homepage": "https://github.com/jamen/craze#readme",
"jest": {
"testDirectoryName": "tests"
}
"homepage": "https://github.com/npm/deprecate-holder#readme"
}

@@ -1,33 +0,5 @@

# Craze
Next generation CSS.
# Deprecated Package
Instead of transpiling directly to CSS like most preprocessors, Craze compiles to a SPV (Selector, Property, Value) tree, which can then be compiled to CSS.
This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name.
This allows more opportunities for middleware to interact with the CSS directly through a easy interface.
## Installation
```
$ npm install -g craze
```
## Example
Programmatic usage:
```javascript
Selector('.foo, .bar', [
Property('background-color', Value('#000')),
Property('border', [
Value(1, 'px'),
Value('solid'),
Value('#FFF')
])
]);
```
Compiled:
```css
.foo, .bar {
background-color:#000;
border:1px solid #FFF;
}
```
Please contact support@npmjs.com if you have questions about this package.