# inject-scss

> Node util for generating s*ss variables from js objects

Latest version **1.0.1** (published 2016-11-16) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install inject-scss
pnpm add inject-scss
yarn add inject-scss
bun add inject-scss
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-11-16 |
| First published | 2016-11-16 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Josh Beckwith |
| Maintainers | positlabs |
| Keywords | scss, sass, node, util |

## Links

- npm: https://www.npmjs.com/package/inject-scss
- Repository: https://github.com/positlabs/inject-scss
- Homepage: https://github.com/positlabs/inject-scss#readme
- Issues: https://github.com/positlabs/inject-scss/issues
- npm.io page: https://npm.io/package/inject-scss

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-11-16
- 1.0.0 — 2016-11-16

## README

# inject-scss
Node util for generating s*ss variables from js objects

[![npm version](https://badge.fury.io/js/inject-scss.svg)](https://badge.fury.io/js/inject-scss)

`npm install --save inject-scss`

```javascript
	
	var scssInjector = require('inject-scss')
	var path = require('path')
	var fs = require('fs')

	var outputPath = path.join(__dirname, 'public/styles/_inject.scss')
	var vars = {CDN: '/path/to/cdn/'}

	// defaults to scss
	scssInjector(outputPath, vars)

	// ...but support sass, too
	var outputPath = path.join(__dirname, 'public/styles/_inject.sass')
	scssInjector(outputPath, vars, 'sass')

	// Then, in your scss file...
	@import './_inject.scss'
```

---
_Source: https://npm.io/package/inject-scss · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
