UNPKG

titlecase

Version:

Intelligently converting strings to title case (an enhanced fork of David Gouch's library)

9 lines (5 loc) 146 B
#!/usr/bin/env node var toTitleCase = require('./to-title-case') process.argv.slice(2).forEach(function (a) { console.log(toTitleCase(a)) })