1.1.11 • Published 2 years ago

super-tags v1.1.11

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Super Tags

Build Status

Description

Tags expansion from css patterns. Use other mature solutions, for productivity.

Installation

[sudo] npm i super-tags [-g]

Usage

You can use the common way of module call.

const superTags = require('super-tags');

After the module call, use the expand nest method.

superTags.highLevelExpansion('div>a.my-custom-button');

And the output could possible be the following:

<div>
  <a class="my-custom-button"></a>
</div>

The above way is related to programmaticaly usage, but you can use as cli on development mode.

Development Mode

With the code cloned on your machine, access the project and run command:

node .\index.js "div*3>a.my-custom-button{Item $}"

The result is the following:

<div>
  <a class="my-custom-button">
    Item 1  
  </a>
</div>
<div>
  <a class="my-custom-button">
    Item 2  
  </a>
</div>
<div>
  <a class="my-custom-button">
    Item 3  
  </a>
</div>

Enjoy!

Contributions

Feel free to open PR, start an issue about improvements and contact me using my email kaeyosthaeron@gmail.com.

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago