titulo
v0.0.1
Published
Intelligently converting strings to title case (portuguese version)
Downloads
33
Maintainers
Readme
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 Solvar titulo = require('titulo')
console.log(titulo('deus e o diabo na terra do sol')) // Deus E O Diabo Na Terra Do Sol