1.0.0 • Published 8 years ago

spire-json-sass v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

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 mark@epiloque.com

spire-json-sass is licensed under the MIT License

http://www.opensource.org/licenses/MIT