Skip to content

mikaa123/chimney

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


    ~~ chimney ~~         Keeps you warm.
    -------------------------------------

    
           cold? Freezing? KEEP
             ~YOURSELF WARM~
                with a
            s0othing CHIMNEY
                      that
                        ‘consumes
                            your
                              logs'.


    
                            -- WHAT -
      ANSI escape sequence animation of
      an ASCII fire which intensity is
      modulated by the amount of
      (console) logs you feed into it.


      
                            -- HOW --
      You could set up your chimney with
      npm by doing:
      
      $ npm install -g chimney
      
      And then just go to your project,
      and type:
      
      $ chimney path/to/your/files


    
                            -- WAIT --
      Add a chimney to your build process
      to burn the logs before you minify.

      chimney = require('chimney');

      chimney.removeLogsForEachFiles(
        function('.', function(code, f) {

          // code is stripped from any
          // logs.

          // f is the path of the file.
        });
      );

    
    -------------------------------------
    Michael Sokol.