An open API service indexing awesome lists of open source software.

https://github.com/stepci/liquidless-naughtystrings

Big List of Naughty Strings filter for liquidless templates
https://github.com/stepci/liquidless-naughtystrings

Last synced: about 1 year ago
JSON representation

Big List of Naughty Strings filter for liquidless templates

Awesome Lists containing this project

README

          

# liquidless-naughtystrings

[Big List of Naughty Strings](https://github.com/minimaxir/big-list-of-naughty-strings) filter for liquidless templates

## Get Started

Install the dependency from npm:

```sh
npm i liquidless-naughtystrings
```

Import the `naughtystring` filter

```js
import { naughtystring } from 'liquidless-naughtystrings'
```

## Usage

**Example: Rendering a string**

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

Outputs:

```
test
```