@koralabs/protected-words
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Protected Words

Library for protected words

Installation

Using npm:

npm install @koralabs/protected-words

Usage:

const result = await ProtectedWords.checkAvailability(handleName);
if (!result.available) {
    res.status(result.code).send({
        message:
            result.code === AvailabilityResponseCode.NOT_AVAILABLE_FOR_LEGAL_REASONS ? result.reason : result.message
    });
    return;
}

Readme

Keywords

Package Sidebar

Install

npm i @koralabs/protected-words

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

237 kB

Total Files

17

Last publish

Collaborators

  • bigirishlion
  • papagoose