khrome / ascii-art

A Node.js library for ansi codes, figlet fonts, ascii art and other ASCII graphics
MIT License
681 stars 287 forks source link

Add basic use in README.md #26

Open james-mcparlane-deltatre opened 2 years ago

james-mcparlane-deltatre commented 2 years ago

Sometimes modules don't use the name you expect them to.

Your examples use art but the name is ascii-art.

I had to search in your code to solve this riddle.

var art = require('ascii-art');

khrome commented 2 years ago

Sorry this was a point of confusion, I'll add some notes that cover the various allowed methods of import as it moves to 3.0

Thanks for the suggestion and for finding the library useful!