Khmer Chess Javascript library to simulate chess board
Screen Shot 2021-02-27 at 5.49.22 PM (KhmerChessBoard 1.0.13):
npm i -D khmer-chess-board
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>
> npm i
> npm start
> npm i
> npm run build
MIT