khmer-chess-board
v1.0.61
Published
Khmer Chess Javascript library to simulate chess board
Downloads
86
Readme
khmer-chess-board.js
Khmer Chess Javascript library to simulate chess board
Build with
Screen Shot 2021-02-27 at 5.49.22 PM (KhmerChessBoard 1.0.13):
Importing
npm i -D khmer-chess-board
Importing
import { KhmerChessBoard } from 'khmer-chess-board';
// React
import { KhmerChessBoardComp } from 'khmer-chess-board';
const { KhmerChessBoard } = require('khmer-chess-board');
// React
const { KhmerChessBoardComp } = require('khmer-chess-board');
- Web:
<script src="khmer-chess-board/dist/khmer-chess-board.bundle.js"></script>
<script>
console.log(KhmerChessBoard.version);
// React
console.log(KhmerChessBoardComp.version);
</script>
Run
> npm i
> npm start
Build
> npm i
> npm run build
Licence
MIT