Socket
Socket
Sign inDemoInstall

bob-2

Package Overview
Dependencies
5
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bob-2

This repo is a PoC for a cross-platform FE component library


Version published
Weekly downloads
37
increased by54.17%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Bob 2

This repo is a PoC for a cross-platform FE component library

Installation

npm install bob-2

Usage

import { Button, ThemeContext } from 'bob-2'

const Example = () => (
   <ThemeContext value="kevin"> // 'kevin' or 'website'
      <Button>Click here</Button>
   </ThemeContext>
)

export default Example

Publishing

  • Make changes
  • Update version number inside package.json
  • run npm publish

Caveats

  • Currently published under richhastings npm account, so this will need to be addressed

FAQs

Last updated on 29 Nov 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc