liquidless-naughtystrings
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

liquidless-naughtystrings

Big List of Naughty Strings filter for liquidless templates

Get Started

Install the dependency from npm:

npm i liquidless-naughtystrings

Import the naughtystring filter

import { naughtystring } from 'liquidless-naughtystrings'

Usage

Example: Rendering a string

renderTemplate('{{ | naughtystring }}', {}, {
  filters: {
    naughtystring
  }
})

Outputs:

<a href="\xE1\x9A\x80javascript:javascript:alert(1)" id="fuzzelement1">test</a>

Readme

Keywords

Package Sidebar

Install

npm i liquidless-naughtystrings

Weekly Downloads

3,080

Version

1.0.0

License

MPL-2.0

Unpacked Size

30.5 kB

Total Files

7

Last publish

Collaborators

  • mishushakov