simple-auth-client

1.0.7 • Public • Published

simple-auth-client

Build Status npm npm

Don't use!! It's still dev

Features

  • Server unnecessary
  • Simple authentication system that operates only on the browser side
  • Not secure

Installation

Donwload Manually

Github

Bower

$ bower install simple-auth-client --save

NPM

$ npm install simple-auth-client --save

Usage

Load from HTML

<script src='/lib/simple-auth-client.min.js'></script>
 
<script>
  SimpleAuthClient.start({
    password: 'foo'
  });
</script>

With a module system

import SimpleAuthClient from 'simple-auth-client'
 
SimpleAuthClient.start({
  password: 'foo'
});

Options

now writing...

Development

# install 
$ npm install
 
# flow-typed CLI installed 
$ npm install -g flow-typed
# flow-typed install 
$ flow-typed install
 
# serve livereload and watch at http://localhost:8080/ 
$ npm run watch 
 
# build for production 
$ npm run build

For only Japanese

How to build a module with using rollup(Japanses/日本語)

Package Sidebar

Install

npm i simple-auth-client

Weekly Downloads

0

Version

1.0.7

License

MIT

Last publish

Collaborators

  • akifo