A custom Drupal 8 module that provides a Twig filter to trim a string to a given number of words. Built as an example module for Drupal Camp Helsinki 2014.