# @stylable/module-utils

> Stylable module creation utilities

Latest version **6.1.1** (published 2024-05-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @stylable/module-utils
pnpm add @stylable/module-utils
yarn add @stylable/module-utils
bun add @stylable/module-utils
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 6.1.1 |
| Published | 2024-05-30 |
| First published | 2019-03-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=18.12.0 |
| Dependencies | 3 |
| Unpacked size | 96.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1273 |
| Author | Wix.com |
| Maintainers | tomrav, avi.vahl, idoros, baraki, cijoe, alexswix |

## Links

- npm: https://www.npmjs.com/package/@stylable/module-utils
- Repository: https://github.com/wix/stylable.git#master
- Homepage: https://github.com/wix/stylable/tree/master#readme
- Issues: https://github.com/wix/stylable/issues
- npm.io page: https://npm.io/package/@stylable/module-utils

## Dependencies (3)

- [vlq](https://npm.io/package/vlq.md) ^2.0.4
- [@tokey/core](https://npm.io/package/@tokey/core.md) ^1.4.0
- [@stylable/core](https://npm.io/package/@stylable/core.md) ^6.1.1

## Recent versions

- 6.1.1 (latest) — 2024-05-30
- 5.19.0 (release-5.x) — 2024-03-05
- 6.0.0-rc.3 (next) — 2024-02-01
- 4.15.1 (release-4.x) — 2022-08-14
- 3.13.2 (release-3.x) — 2021-12-09
- 6.1.0 — 2024-05-21
- 6.0.2 — 2024-04-15
- 6.0.1 — 2024-03-19
- 6.0.0 — 2024-03-13
- 5.18.1 — 2024-02-12
- 5.18.0 — 2024-01-14
- 5.17.0 — 2023-12-03
- 6.0.0-rc.2 — 2023-11-08
- 6.0.0-rc.1 — 2023-11-08
- 5.16.1 — 2023-10-05
- … 178 more at https://npm.io/package/@stylable/module-utils/versions

## README

# @stylable/module-utils

[![npm version](https://img.shields.io/npm/v/@stylable/module-utils.svg)](https://www.npmjs.com/package/stylable/module-utils)

`@stylable/module-utils` provides the ability to generate Stylable source modules to be used in node or webpack.

### `stylableModuleFactory`

Creates a factory for creating multiple Stylable modules in a shared context, used by the webpack plugin.

### `generateStylableJSModuleSource`

Creates a single Stylable module source code.

> This function moved to `@stylable/core` and will be removed in the next major version.

## License
Copyright (c) 2017 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by an [MIT license](./LICENSE).

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