TypeScript library for drawing chess evaluation bars.
npm install chess-eval-barsimport { ChessEvalBar } from 'chess-eval-bars'
import 'chess-eval-bars/styles.css'
const bar = ChessEvalBar('#evalbar', {
encoding: {
length: { value: 0.5, min: -4, max: 4 },
},
label: { text: '+0.50' },
})npm install
npm test
npm run build
npm run docs:startwebsite/ is the Docusaurus app. Pushing to main runs .github/workflows/deploy-pages.yml, which builds website/build and publishes that folder with GitHub’s Pages artifact deploy.
npm run verify
npm login --auth-type=web
npm whoami
npm pack --dry-run
npm publish --access publicAuthor: Arpit Narechania
License: MIT, DataVisards Lab at HKUST
Contact: narechania.com
