@spaceninja/writing-progress

1.1.0 • Public • Published

writing-progress

NPM version

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

How Does It Work?

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

Installation

npm install @spaceninja/writing-progress

Usage

<writing-progress word-count="19873"></writing-progress>

<script type="module" src="writing-progress.js"></script>

Attributes

You can configure the component by setting any of the following attributes on the <writing-progress> 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

Readme

Keywords

none

Package Sidebar

Install

npm i @spaceninja/writing-progress

Weekly Downloads

5

Version

1.1.0

License

MIT

Unpacked Size

9.05 kB

Total Files

6

Last publish

Collaborators

  • spaceninja