spire-json-sass
v1.0.0
Published
Convert javascript plain object to a sass map
Downloads
2
Maintainers
Readme
spire-json-sass
Convert javascript plain object to a sass map
Getting Started
$ npm install --save spire-json-sass
Usage
'use strict'
const spireJsonSass = require('spire-json-sass')
const person = {
firstName: 'Jane',
lastName: 'Doe',
age: 32,
eyeColor: 'blue'}
console.log(spireJsonSass('person', person))
// $person: (
// firstName: "Jane",
// lastName: "Doe",
// age: 32,
// eyeColor: "blue"
// );
License
Copyright (c) 2016 Mark Milstein mailto:[email protected]
spire-json-sass is licensed under the MIT License
http://www.opensource.org/licenses/MIT