New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

expobook

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expobook

Share your component library using Expo

  • 0.0.5
  • latest
  • npm
  • Socket score

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

ExpoBook 📚

Expobook allows you to present and develop react-native UI components in a standalone dev environment within an expo app.

Demo

How to setup

Install expobook.

$ npm i expobook

Create your expobook entry file.

$ touch expobook.js

Add components to expobook.

// ./expobook.js
import React from 'react';
import createExpobook from 'expobook';
import MyButton from './components/button';

const expobook = createExpobook();

expobook.add('My Button', () => <MyButton>Hello</MyButton>);

expobook.add('Another Button', () => <MyButton>Goodbye</MyButton>);

export default expobook.build();

Run expobook:

$ ./node_modules/.bin/expobook

OR better yet Add "expobook": "./node_modules/.bin/expobook" to "scripts" in your package.json and just run npm run expobook.

TODO

  • Enable custom exp cli config pass through
  • Fix paths so that __expobook__ becomes .expobook

Contribution

Lint all files:

npm run lint

FAQs

Package last updated on 01 Feb 2019

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