l2n-utils

0.5.9 • Public • Published

DESCRIPTION

Helper methods

** Classes ** -User

Interfaces

  • IAuthentication
  • IUser

String Manipulation

  • arrayToRegex(array, flags)

    `array: Array of Strings ex. ['first', 'second'] flags: String of regex options(g|i|m|u|y) ex. 'gi' returns Regexp: \first|second/

Logger

  • log(error, message) Logs to the console if in dev environment or to the active logger

    error: Error to be displayed message: String to be logged

Readme

Keywords

Package Sidebar

Install

npm i l2n-utils

Weekly Downloads

1

Version

0.5.9

License

ISC

Last publish

Collaborators

  • bdros
  • schavras