broccoli-lion-and-mouse

An absurd little BroccoliJS filter. Builds result in two subfolders, 'LION' and 'mouse', each containing a full copy of the source directory, but with all .txt files converted to ALL UPPERCASE and all lowercase, respectively.

Usage no npm install needed!

<script type="module">
  import broccoliLionAndMouse from 'https://cdn.skypack.dev/broccoli-lion-and-mouse';
</script>

README

Lion and Mouse (Broccoli) Filter

A very silly Broccoli filter (built with broccoli-filter, broccoli-funnel, and broccoli-merge-trees).

This is an npm module named broccoli-lion-and-mouse, an absurd little BroccoliJS filter. It takes a source tree and outputs a tree containing two subfolders, LION and mouse, each containing a full copy of the input tree, but with all .txt files converted to ALL UPPERCASE within LION and converted to all lowercase in mouse.

For a demo please see alanhogan/lion-and-mouse-demo, or run this simple code:

/* Brocfile.js */

var lionAndMouse = require('broccoli-lion-and-mouse');

var demo = lionAndMouse('src', {
  destDir : '/'
});

module.exports = demo;

Feedback is welcome. Go ahead and file an issue.