Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jaid/tldw

Overwrites the readme based on info fetched from package.json and source code.
https://github.com/jaid/tldw

documentation github jsx markdown react react-renderer readme readme-template

Last synced: 19 days ago
JSON representation

Overwrites the readme based on info fetched from package.json and source code.

Awesome Lists containing this project

README

        

# tldw

License Sponsor tldw
Build status Commits since v7.3.1 Last commit Issues
Latest version on npm Dependents Downloads

**Overwrites the readme based on info fetched from package.json and source code.**

#### Opinionated

:warning: This project is tailored to my personal needs and workflows and therefore highly opinionated. Feel free to use it or get inspired by it, but please do not get frustrated if you come across weird features or difficulties integrating it in your own ecosystem.

## Installation

tldw on npm

```bash
npm install --global tldw@^7.3.1
```

tldw on Yarn

```bash
yarn global add tldw@^7.3.1
```

## Usage

Generated readme can be extended with following files in your repository:

##### Config

- `readme/config.yml`

##### YAML representation of Markdown fragments

- `readme/envVars.yml` (same as `readme/config.yml#environmentVariables`)
- `readme/usageOptions.yml`

##### JavaScript fragments

- `readme/example.js`
- `readme/result*.js`

##### Markdown fragments

- `readme/legal.md`
- `readme/warning.md`
- `readme/usage.md`
- `readme/advancedUsage.md`
- `readme/example.md`
- `readme/options.md`
- `readme/development.md`
- `readme/description.md`
- `readme/result.md`
- `readme/notes.md`
- `readme/related.md`
- `readme/faq.md`

## CLI Usage
After installing package `tldw` globally, you can use its command line interface.
```bash
tldw
```
For usage instructions:
```bash
tldw --help
```

## Development

Development hints for maintaining and improving tldw

Setting up:
```bash
git clone [email protected]:jaid/tldw.git
cd tldw
npm install
```
Testing:
```bash
npm run test:dev
```
Testing in production environment:
```bash
npm run test
```

## License
[MIT License](https://raw.githubusercontent.com/jaid/tldw/master/license.txt)
Copyright © 2021, Jaid \ (https://github.com/jaid)