0.1.0 • Published 6 years ago
@luisguillen/testnpm v0.1.0
My First NPM Package
Hi, you can use my npm module in your project.
My twitter is Luis Guillen. You can follow me.
Description
Convert a date time in mexican format at time to call toStringMex
method.
Hpw to install it
npm install testnpm
How to use it
Just create a DateTime
object like this:
import spanishdate as require('spanishdate')
let date = spanishdate(new Date(2017, 11, 1))
console.log(date)
It will show in console:
Viernes 1 de Diciembre de 2017
0.1.0
6 years ago