spire-json-sass

1.0.0 • Public • Published

spire-json-sass

Convert javascript plain object to a sass map

license npm version build status

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

spire-json-sass is licensed under the MIT License

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

Package Sidebar

Install

npm i spire-json-sass

Weekly Downloads

4

Version

1.0.0

License

MIT

Last publish

Collaborators

  • eitherlands