npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@shjeon0730/svg-table

v2.1.3-0

Published

table creating library using svg using React and typescript. no specific dependency is needed other than React.

Downloads

226

Readme

svg-table

! ⚠️ This library is no longer increasing version. But it will be continue with @shjeon0730/svg-table-react. Checkout Migration ⚠️

Logo

! ⚠️ This library is separated 3 libraries (maybe more in the future) to support multiple frameworks. (i.e. @shjeon0730/svg-table-react, @shjeon0730/svg-table-rsolid, and @shjeon0730/svg-table-vanilla). Check out Homepage for more information. ⚠️

For the higher versions:

Please check out one of these libraries

@shjeon0730/svg-table-react @shjeon0730/svg-table-solid @shjeon0730/svg-table-vanilla

all of them has peer dependency with @shjeon0730/svg-table-core

Installation

! From 2.1.X version, you should install @shjeon0730/svg-table-core @shjeon0730/svg-table-react as well. @shjeon0730/svg-table will be just wrapper of @shjeon0730/svg-table-react . So there is no difference except for importing name between them.

npm install @shjeon0730/svg-table-core @shjeon0730/svg-table-react @shjeon0730/svg-table

Introduction

@shjeon0730/svg-table library is made to support a case that HTML table cannot be used but svg is needed. I realized that creating a table form in SVG is a tedious job, so created this library to make the table shape in SVG easier and manageable. Especially, if you want to use PDFMake and want to create more advanced table like experience in the PDF, it is a time consuming process. If you can make the table with SVG and reuse the same code for both browser and PDF, it will be easier to manage.

Migration

Backward compatibility (for @shjeon0730/svg-table users)

@shjeon0730/[email protected] will be the last version of this library. But you can continue upgrade it by installing @shjeon0730/svg-table-react since it will be used in @shjeon0730/[email protected] as a peerDependency. all Logic is ported to turbo-repo's internal package @shjeon0730/svg-table-core and it will not be published to avoid version mismatch among the other framework's version like @shjeon0730/svg-table-solid or @shjeon0730/svg-table-vanilla. They will use the same core logic and will have the same version systems (except for pre-patch version).

How to migrate to @shjeon0730/svg-table-react

For your convenience, We give you a simple way of upgrading library.

  1. install @shjeon0730/svg-table-core and @shjeon0730/svg-table-react
npm install @shjeon0730/svg-table-core @shjeon0730/svg-table-react
  1. update @shjeon0730/[email protected]
npm install @shjeon0730/[email protected]

That's it! you can continue upgrading svg tble by upgrading @shjeon0730/svg-table-react. But I recomment you to remove @shjeon0730/svg-table and replace it to @shjeon0730/svg-table-react if possible to reduce the complexity.

Usage

Please visit Homepage for more information as well as demo

Support

For support, questions, or to report issues related to the SVG Table Component, please use the GitHub Issues page of the Turborepo project.

License

The SVG Table Component is MIT License.