instagram-validator

0.1.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i instagram-validator

Weekly Downloads

0

Version

0.1.1

License

BSD-3-Clause

Unpacked Size

3.59 kB

Total Files

5

Last publish

Collaborators

  • johnlinp