titulo

    0.0.1 • Public • Published

    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

    Install

    npm i titulo

    DownloadsWeekly Downloads

    3

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • fiatjaf