0.4.4 • Published 7 years ago

conword v0.4.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Conword

Converts things to words.

Months

Converts an array of integers to strings expressing months and periods. E.g.:

'use strict'

const conword = require('conword')

let options = {
    language: 'en',
    zeroBased: false,
    connector: '-'
}

let months = [1, 4, 6]

let result = conword.months(months, options)

// output name of months
console.log(result.months)

// output all periods
console.log(result.periods)
0.4.4

7 years ago

0.4.3

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago