Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-chessboard-svg

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-chessboard-svg

The React Chessboard SVG Library used at ChessOpenings.co.uk.

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

react-chessboard-svg

react chessboard svg

The React Chessboard SVG Library used at ChessOpenings.co.uk

Pull Requests Version MIT License

What is react-chessboard-svg?

react-chessboard-svg is a React component that generates an SVG of a chessboard when provided a FEN string.

Link to react-chessboard and ChessOpenings.co.uk

Installation

npm i react-chessboard-svg

Usage

import { ChessboardSVG } from 'react-chessboard-svg';

export default function App() {
  return <ChessboardSVG fen="r1bqkbnr/pppp1ppp/2n5/4p3/2B1P3/5N2/PPPP1PPP/RNBQK2R b KQkq - 3 3" />;
}

Contributing

  1. Fork this repository
  2. Clone your forked repository onto your development machine git clone https://github.com/yourUsernameHere/react-chessboard-svg.git cd react-chessboard-svg
  3. Create a branch for your PR git checkout -b your-branch-name
  4. Set upstream remote git remote add upstream https://github.com/Clariity/react-chessboard-svg.git
  5. Make your changes
  6. Test your changes using the example folder npm run build cd example npm start
  7. Push your changes git add . git commit -m "feature/cool-new-feature" git push --set-upstream origin your-branch-name
  8. Create pull request on GitHub
  9. Contribute again git checkout main git pull upstream main git checkout -b your-new-branch-name

LICENSE

MIT

Keywords

FAQs

Package last updated on 26 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc