@cap32/nut
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

nut

Numbering textarea

screenshot

Usage

Basic usage

<body>
  <!-- textarea element with class="nut" is required -->
  <textarea class="nut"></textarea>

  <!-- import nut.js at the bottom of body -->
  <script src="https://unpkg.com/@cap32/nut@0.1.0/dist/nut.js"></script>
</body>

I think it could not be easier.

Supported data attributes

<textarea
  class="nut"
  data-nut-width="64px"
  data-nut-padding="8px"
  data-nut-color="#666"
  data-nut-bg-color="#f4f4f4"
></textarea>

Installing via npm

$ npm install @cap32/nut

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @cap32/nut

Weekly Downloads

2

Version

0.2.1

License

MIT

Unpacked Size

26.9 kB

Total Files

6

Last publish

Collaborators

  • cap32