khmer-chess-board
TypeScript icon, indicating that this package has built-in type declarations

1.0.61 • Public • Published

khmer-chess-board.js

Khmer Chess Javascript library to simulate chess board

Build with

khmer-chess

k4us-share

Screen Shot 2021-02-27 at 5.49.22 PM (KhmerChessBoard 1.0.13):

alt text

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

Package Sidebar

Install

npm i khmer-chess-board

Weekly Downloads

88

Version

1.0.61

License

MIT

Unpacked Size

1.94 MB

Total Files

148

Last publish

Collaborators

  • raksa