npm.io
1.0.2 • Published 2 years ago

craydent.highlight

Licence
MIT
Version
1.0.2
Deps
5
Size
9 kB
Vulns
0
Weekly
0

Craydent 1.0.2

by Clark Inada

Craydent is all inclusive utility library. There are several ways to use the library in NodeJS. More detailed documentation on constants can be found at Craydent Properties. More detailed documentation on methods can be found at Craydent Methods

// require - this require is the fully modular version with no global constants, prototypes, or methods.
const highlight = require('craydent.highlight').default;
// import - this require is the fully modular version with no global constants, prototypes, or methods.
import highlight from 'craydent.highlight';

highlight

Info: String class extension to surround search words with the given tag(default span) and class (default chighlight)

Return: (String)

Parameters:

None

Overloads:

None

Download