# sass-meta

> This Sass module provides more advanced meta functions

Latest version **1.0.0** (published 2021-07-02) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install sass-meta
pnpm add sass-meta
yarn add sass-meta
bun add sass-meta
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-07-02 |
| First published | 2021-07-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | roydukkey |
| Maintainers | roydukkey |
| Keywords | sass, scss, dart-sass, meta |

## Links

- npm: https://www.npmjs.com/package/sass-meta
- Repository: https://github.com/roydukkey/sass-module-meta
- Homepage: https://github.com/roydukkey/sass-module-meta#readme
- Issues: https://github.com/roydukkey/sass-module-meta/issues
- npm.io page: https://npm.io/package/sass-meta

## Dependencies (1)

- [sass-exception](https://npm.io/package/sass-exception.md) ^1.0.0

## Recent versions

- 1.0.0 (latest) — 2021-07-02

## README

# sass-meta

[![Release Version](https://img.shields.io/npm/v/sass-meta.svg)](https://www.npmjs.com/package/sass-meta)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

This Sass module provides more advanced meta functions.

## Install

### Requires

Install the package:

```bash
npm install sass-meta
```

Use the package like any other Sass module:

```scss
@use 'sass-meta';
```

Depending on your setup, you may need to configure `node_modules` as include path:

```js
const sass = require('sass');

sass.render({
  file: scss_filename,
  includePaths: ['node_modules']
});
```

## Public API

<dl>

  <dt><a href="//github.com/roydukkey/sass-module-meta/tree/master/src/meta/_call-or-reference.sass"><code>call-or-reference ( $function, $args... )</code></a></dt>
  <dd>Allows a function to return its reference when no parameters are provided, otherwise maintaining its regular behavior.</dd>

  <dt><a href="//github.com/roydukkey/sass-module-meta/tree/master/src/meta/_get-keyword.sass"><code>get-keyword ( $args, $name [, $default] )</code></a></dt>
  <dd>Gets the value of the named parameter from the given argument list, otherwise providing a default value.</dd>

</dl>

Don't see the function you're looking for? Request a [new feature](//github.com/roydukkey/sass-module-meta/issues/new) describing a use case.

## Combined API

In order to avoid constantly declaring both the native 'sass:meta' module and this library, the combined API has been added which merges the two.

```scss
// Rather than using both modules separately...
@use 'sass-meta';
@use 'sass:meta';

// ...this statement will accomplish the same thing.
@use 'sass-meta/meta';
```

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