@linkcs/room-checker
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

TL;DR

Expose dans npm un packet qui s'appelle room_checker_cesal, et qui expose une fonction :

> const roomChecker = require('@linkcs/room-checker');

// Détecte si la chambre existe ou non
> roomChecker('2D1G')
true

> roomChecker('5a1aze')
false

Et si jamais vous avez juste besoin de la regex associée :

> const roomChecker = require('room_checker_cesal');

> roomChecker.regex
/.../

Readme

Keywords

none

Package Sidebar

Install

npm i @linkcs/room-checker

Weekly Downloads

0

Version

1.1.4

License

MIT

Unpacked Size

8.53 kB

Total Files

10

Last publish

Collaborators

  • cr4zysheep
  • seasalt0
  • ogdentrod
  • ayc0