Typescript React component for user login functionality

Usage no npm install needed!

<script type="module">
  import wmtLogin from 'https://cdn.skypack.dev/wmt-login';



A module for implementing different login capabilities to node.js applications

Setting up the module

  • git clone git@bitbucket.org:wmtp/wmt-login.git
  • Run 'npm install'

Building the module

The module uses Typescript compiler (TSC) to compile the source code. To build the project run the following command:

  • npm run build

Installing the module for testing

You can install the module into your own node.js project as a dependency. For testing purposes you can install using the following command:

  • npm install /absolute/path/to/modules/directory
  • i.e. -> npm install /Users/jclark/Documents/WorkProjects/custom-node-modules/wmt-login

Importing the module

Once you have the module installed you can import exported functions into your code like so:

import LogInWithPin from 'wmt-login'

Viewing ReactDocs

You can view the React Docs by entering the following command:

  • npm start

This will start a development server on localhost:6060 showing all the properties for the Hello World module


This project is licensed under the MIT License.