@secretlint/source-creator

Create SecretLintRawSource from content.

Usage no npm install needed!

<script type="module">
  import secretlintSourceCreator from 'https://cdn.skypack.dev/@secretlint/source-creator';
</script>

README

@secretlint/source-creator

Create SecretLintRawSource from content.

Install

Install with npm:

npm install @secretlint/source-creator

Usage

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

Changelog

See Releases page.

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.

  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

License

MIT © azu