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
- Host: GitHub
- URL: https://github.com/stepci/liquidless-naughtystrings
- Owner: stepci
- License: mit
- Created: 2022-10-23T12:07:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-23T12:07:57.000Z (over 3 years ago)
- Last Synced: 2025-04-06T20:36:23.775Z (over 1 year ago)
- Language: TypeScript
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```