Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/spaceninja/writing-progress

A web component for authors to track progress towards a word count goal.
https://github.com/spaceninja/writing-progress

Last synced: 2 days ago
JSON representation

A web component for authors to track progress towards a word count goal.

Awesome Lists containing this project

README

        

# writing-progress

[![NPM version](http://img.shields.io/npm/v/@spaceninja/writing-progress.svg)](https://www.npmjs.org/package/@spaceninja/writing-progress)

A web component for authors to track progress towards a word count goal.

- [Demo](https://writing-progress.netlify.app/)

## How Does It Work?

Add the `` element to your page with a `word-count` attribute, and it will calculate the progress towards your goal.

## Installation

```shell
npm install @spaceninja/writing-progress
```

## Usage

```html

```

### Attributes

You can configure the component by setting any of the following attributes on the `` element.

| attribute | default value |
| ------------ | ------------------------- |
| `word-count` | none |
| `goal` | `100000` |
| `round` | none |
| `start-date` | first day of current year |
| `end-date` | last day of current year |