fixids

1.0.5 • Public • Published

FIX-IDS

This small module allows you to add ids to all those html elements that do not have this attribute of those .html files that are in a given folder

Installation

Install this module with npm

npm i -g fixids

Usage

Once the module is installed, from the project folder you want to "fix", you must execute the command: fixids, it will automatically request two parameters per screen: the directory to fix and the length of the ids to generate

WABOT

You can use a .env.local file in your repository directory to be able to indicate the parameters with which to run:

FIX_DIRECTORY=src
FIX_LARGE_ID=12
FIX_ALLOWED_TAGS=button, a, li
FIX_EXCLUDED_TAGS=

Package Sidebar

Install

npm i fixids

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

15.3 kB

Total Files

4

Last publish

Collaborators

  • lcruga