1.0.7 • Published 7 years ago

simple-auth-client v1.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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/日本語)