I've installed swig-extras via npm package manager, because I need new filters.
I'm compiling my templates using command-line interface
$ swig render ./index.html -j ./index.json
I try to implement truncate filter and I don't know how to change my command to implement swig-extras filters.
Once again I answered myself
you have to add two lines
inside