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

@forbetterorworse/shapes-and-lines

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forbetterorworse/shapes-and-lines

A library that provides shape and line components.

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
increased by500%
Maintainers
0
Weekly downloads
 
Created
Source

shapes-and-lines

As the name suggests, this is a library that provides shape and line components.

Available components:

  • Shapes: renders multiple shapes that are placed randomly within a container
  • CurvedLines: renders multiple random curved lines
  • Polylines: renders multiple random polylines

Storybook page: https://forbetterorworse.github.io/shapes-and-lines/

Installation

To install the library in your project, run:

# npm
npm i shapes-and-lines

# yarn
yarn add shapes-and-lines

# pnpm
pnpm add shapes-and-lines

Development

Tech Stack

The main tech this library uses:

  • React
  • React Icons
  • Vite
  • Storybook

Setup

Steps to setup the project locally:

  • Clone the repo
  • Run pnpm i to install the dependencies
  • Run pnpm storybook to start Storybook

Publishing

Note: If the new changes require documentation updates (README.md specifically), be sure to make the documentation changes before the package release. Otherwise, the README.md changes won't be reflected on the NPM package page (ref).

Steps to publish a new package version:

  • Run pnpm version [new-version]. The command will automatically bump the package version and commit the change
  • Create a PR with the version bump
  • Merge the PR into main
  • On the local environment, ensure the main branch is up-to-date
  • Run pnpm build to build the package
  • Run pnpm publish --dry-run to verify the package content
  • Run pnpm publish to publish the package

FAQs

Package last updated on 23 Aug 2024

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