# @secretlint/source-creator

> Create SecretLintRawSource from content.

Latest version **14.1.0** (published 2026-11-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @secretlint/source-creator
pnpm add @secretlint/source-creator
yarn add @secretlint/source-creator
bun add @secretlint/source-creator
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 14.1.0 |
| Published | 2026-11-22 |
| First published | 2020-02-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.0.0 |
| Dependencies | 2 |
| Unpacked size | 23.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1472 |
| Author | azu |
| Maintainers | azu |
| Keywords | secretlint, util |

## Links

- npm: https://www.npmjs.com/package/@secretlint/source-creator
- Repository: https://github.com/secretlint/secretlint
- Homepage: https://github.com/secretlint/secretlint/tree/master/packages/@secretlint/source-creator/
- Issues: https://github.com/secretlint/secretlint/issues
- npm.io page: https://npm.io/package/@secretlint/source-creator

## Dependencies (2)

- [istextorbinary](https://npm.io/package/istextorbinary.md) ^9.5.0
- [@secretlint/types](https://npm.io/package/@secretlint/types.md) 14.1.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 14.1.0 (latest) — 2026-11-22
- 7.0.0-beta.68 (canary) — 2023-07-02
- 3.3.1-next.19 (next) — 2021-09-15
- 14.0.1 — 2026-11-16
- 14.0.0 — 2026-11-15
- 13.1.0 — 2026-10-26
- 13.0.7 — 2026-10-03
- 13.0.6 — 2026-09-25
- 13.0.5 — 2026-08-27
- 13.0.4 — 2026-07-22
- 13.0.3 — 2026-07-21
- 13.0.2 — 2026-05-15
- 13.0.1 — 2026-05-15
- 13.0.0 — 2026-05-04
- 12.3.1 — 2026-04-26
- … 109 more at https://npm.io/package/@secretlint/source-creator/versions

## README

# @secretlint/source-creator

Create SecretLintRawSource from content.

## Install

Install with [npm](https://www.npmjs.com/):

    npm install @secretlint/source-creator

## Usage


```js
import { createRawSource } from "@secretlint/source-creator"
(async () => {
    const source = await createRawSource("/path/to/file");
    coneols.log(source);
})();
```

## Changelog

See [Releases page](https://github.com/secretlint/secretlint/releases).

## Running tests

Install devDependencies and Run `npm test`:

    npm test

## Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, [please create an issue](https://github.com/secretlint/secretlint/issues).

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## Author

- [github/azu](https://github.com/azu)
- [twitter/azu_re](https://twitter.com/azu_re)

## License

MIT © azu

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