Wondering what’s next for npm?Check out our public roadmap! »

@puzzleframework/joi-e164

1.0.2 • Public • Published

joi-e164

Joi extension to validate E.164 numbering format.

Installation

npm install @puzzleframework/joi-e164 --save

Usage

const JoiBase = require('joi')
const JoiE164 = require('@puzzleframework/joi-e164')
 
const Joi = JoiBase.extend(JoiE164)
 
const result = Joi.e164().validate('+14155552671')

Install

npm i @puzzleframework/joi-e164

DownloadsWeekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

1.03 kB

Total Files

3

Last publish

Collaborators

  • avatar