0.1.1 • Published 5 years ago

instagram-validator v0.1.1

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
5 years ago

Instagram Validator

This is a non-official Instagram validator.

Since Instagram doesn't provide an official one, this library serves as an alternative.

Install

$ npm install instagram-validator

Usage

const iv = require('instagram-validator');

iv.isValidHashtag('#hello'); // true

iv.isValidHashtag('#hello.world'); // false

iv.isValidHashtag('#5566'); // true

Test

$ npm test