0.0.1 • Published 9 years ago
titulo v0.0.1
This is a brazilian fork of Rod Vagg's package which itself was forked from David Gouch's excellent String#toTitleCase()
method inspired by John Gruber's post on the topic.
The current implementation should be used for portuguese strings.
var titulo = require('titulo').toLaxTitleCase
console.log(titulo('deus e o diabo na terra do sol')) // Deus e o Diabo na Terra do Sol
var titulo = require('titulo')
console.log(titulo('deus e o diabo na terra do sol')) // Deus E O Diabo Na Terra Do Sol
0.0.1
9 years ago