https://github.com/ehmicky/template-javascript
JavaScript library template
https://github.com/ehmicky/template-javascript
Last synced: 3 months ago
JSON representation
JavaScript library template
- Host: GitHub
- URL: https://github.com/ehmicky/template-javascript
- Owner: ehmicky
- License: mit
- Created: 2022-07-30T15:37:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-13T05:04:08.000Z (3 months ago)
- Last Synced: 2025-03-13T06:19:08.868Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 6 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/template-name)
[](https://unpkg.com/template-name?module)
[](/src/main.d.ts)
[](https://codecov.io/gh/ehmicky/template-name)
[](https://bundlephobia.com/package/template-name)
[](https://fosstodon.org/@ehmicky)
[](https://medium.com/@ehmicky)template-description.
Work in progress!
# Features
# Example
```js
import templateName from 'template-name'
```# Install
```bash
npm install template-name
```This package works in both Node.js >=18.18.0 and
[browsers](https://raw.githubusercontent.com/ehmicky/dev-tasks/main/src/browserslist).This is an ES module. It must be loaded using
[an `import` or `import()` statement](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c),
not `require()`. If TypeScript is used, it must be configured to
[output ES modules](https://www.typescriptlang.org/docs/handbook/esm-node.html),
not CommonJS.# API
## templateName(value, options?)
`value` `any`\
`options` [`Options?`](#options)\
_Return value_: [`object`](#return-value)### Options
Object with the following properties.
### Return value
Object with the following properties.
# Related projects
# Support
For any question, _don't hesitate_ to [submit an issue on GitHub](../../issues).
Everyone is welcome regardless of personal background. We enforce a
[Code of conduct](CODE_OF_CONDUCT.md) in order to promote a positive and
inclusive environment.# Contributing
This project was made with ❤️. The simplest way to give back is by starring and
sharing it online.If the documentation is unclear or has a typo, please click on the page's `Edit`
button (pencil icon) and suggest a correction.If you would like to help us fix a bug or add a new feature, please check our
[guidelines](CONTRIBUTING.md). Pull requests are welcome!