0.1.4 • Published 7 months ago

authease v0.1.4

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

Auth Ease

AuthEase: Make Authentication with Ease.

Usage

To start using the library, install it in your project

npm i authease

To use the library, follow the steps as below:

import {AuthEasyProvider,LoginPage,SignedIn,SignedOut} from 'authease';

import "authease/dist/styles/index.css"; // style sheet of login page and sign up page.

function App() {
  return (
  <AuthEasyProvider> 
      <SignedIn>
        <Welcome/> // custom component
      </SignedIn>
    <SignedOut>
      <LoginPage/> 
    </SignedOut>
  </AuthEasyProvider>
  );
}

export default App;

function Welcome(){
  return <h1 className='text-4xl text-red-700 text-center'>Welcome to home!</h1>
}

You are good to go to start your work now. Your Auth is ready to use.

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago

0.0.2

7 months ago

0.0.0

7 months ago

0.0.1

7 months ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago