mirror of
https://github.com/jakejarvis/npm-module-template.git
synced 2026-10-22 16:36:22 -04:00
reorganize readme
This commit is contained in:
2 files changed
+25
No files matched your search
@@ -8,8 +8,26 @@ Just a personal boilerplate to my liking for an Node and/or browser module w/ ES
|
||||
|
||||
Probably not very useful to anybody else. 😊
|
||||
|
||||
The rest of the readme from now on is placeholder crap...
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
npm install @jakejarvis/my-module --save-dev
|
||||
# or...
|
||||
yarn add @jakejarvis/my-module --dev
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import { something } from "@jakejarvis/my-module";
|
||||
|
||||
something({ doSomething: true });
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### something(options?)
|
||||
|
||||
#### options
|
||||
|
||||
Vendored
+7
@@ -9,5 +9,12 @@ export interface Options {
|
||||
|
||||
/**
|
||||
* Does pretty much nothing, contrary to its name.
|
||||
*
|
||||
* @example
|
||||
* ```
|
||||
* import { something } from "@jakejarvis/my-module";
|
||||
*
|
||||
* something({ doSomething: true });
|
||||
* ```
|
||||
*/
|
||||
export function something(options?: Options): void;
|
||||
Reference in new issue
Block a user