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

@nib-components/prototype

v1.1.0

Published

A single script and style bundle for prototyping. Includes react, react-dom and *almost* all our components.

Downloads

81

Maintainers

aschofield-nibaschofield-nibian.darrochian.darrochsyed.husainsyed.husainnib-components-adminnib-components-adminlauriejoneslauriejonesken-ky-wongken-ky-wongcmaysoncmaysonwng-serviceswng-servicesstribsstribsnib-build-agentnib-build-agenteastwoodeastwoodelias.tran.nibelias.tran.nibfiona.wangfiona.wangmattbourkemattbourkesameer-e-digiosameer-e-digionathan.ford-nibnathan.ford-nibnarchernarchervarindernibvarindernibtristancampbellmbtristancampbellmbtmcclenahantmcclenahannib-nz-buildnib-nz-buildc.rhindc.rhindsarahyapnibsarahyapnibvaanimvaanimtgoldthorpe-nibtgoldthorpe-nibsamjwillis-nibsamjwillis-nibakash.prakashakash.prakashjackmennienibjackmennienibanandmampuzhakalanandmampuzhakaldariasudariasubennettsolnetbennettsolnetairfanairfanthomasc42thomasc42rovacsekrovacsekgnguyennibgnguyennibtom.moktom.mokshane-wshane-wvicvinegarvicvinegaroshan.kottegeoshan.kottegexiaoxinghuxiaoxinghurbowen006rbowen006seanw.nibseanw.nibanishmat27anishmat27sean0x42sean0x42sbeliak-nibsbeliak-nibzander-mudbathzander-mudbathstephen.wongstephen.wongamir.ruddamir.ruddc.lassenc.lassenharshahr1994harshahr1994dimi7ridimi7ridmitrymatveevdmitrymatveevsamreedysamreedyvaishalibhakharvaishalibhakharalejop-mudbathalejop-mudbathr3gm1r3gm1maraza1721maraza1721d-martin-nibd-martin-nibapnibapnibkieranjogradykieranjogradysiyengar94siyengar94dsmithamdsmithamvivien_clifford_nibvivien_clifford_nibjohanjarvijohanjarvimsikkemamsikkemabrad.turnerbrad.turneramy.tait.nibamy.tait.nibscottwalkerauscottwalkerautarantojtarantojjnwestjnwests.hossains.hossainbillthomas-nibbillthomas-nibalunarzewskialunarzewskibendharveybendharveymleontieffmleontiefftjodzio-nibtjodzio-nibmitchellharroldmitchellharroldtejaswikotatejaswikotapallavi.barnapallavi.barnadanieltran-nibdanieltran-nibjulie.lijulie.lidamodarandamodarancaleb.faithcaleb.faithconnorpmcbrideconnorpmcbrideaiswaryarajendranaiswaryarajendrananylyneanylynechris.close.nibchris.close.nibdguilbertdguilbertshirleyshaoshirleyshaoblakehattinghblakehattinghpmv-npmpmv-npmgeorgia.batsongeorgia.batsonjohnpaulvaughanjohnpaulvaughanjohn.hartmann.nibjohn.hartmann.nibalankirknibtravelalankirknibtraveltbrown-nibtbrown-nibgeorgia-batsongeorgia-batsontrentontwstrentontwsjuliexxvijuliexxvidaron.robinsondaron.robinsondavetapsonnibdavetapsonnibwilliamgonzaleznibwilliamgonzaleznibjoshua.coleirojoshua.coleirodluong.muddluong.mudrgstephensrgstephensamelialuwiaamelialuwiaeddyljeddyljjoshgermon-nibjoshgermon-nibparisa.heydparisa.heydindira.ramachandraindira.ramachandrabencollbencolls.bistas.bistaash-tulett-nibash-tulett-nibnnattawatnnattawatnathanpiper-nibnathanpiper-nibsylvia.zhsylvia.zhneon-inkblastneon-inkblastdarcymerrickmudbathdarcymerrickmudbathkarlb_nzkarlb_nzsaranya-nibtravelsaranya-nibtravelabiliohabiliohsmdabrarsmdabrardigio-shanefitzgeralddigio-shanefitzgeraldsdarshysdarshymazumpr1988mazumpr1988terencesunendavaterencesunendavapaul-neville-thompsonpaul-neville-thompsonadamgonlagadamgonlagzainab.saifzainab.saifcooldesignlukecooldesignlukedaniel-nibdaniel-nibzi_choongzi_choongdomcorso-nibdomcorso-nibjbayerjbayersherensherencsfrank-nibcsfrank-nibjezz-jonjezz-jonartem.shkumatartem.shkumatwstolpwstolpnathananstess.nibnathananstess.nibdlegaspi-nibdlegaspi-nibnadeeth-nib1nadeeth-nib1steevteesteevteeanandmenonanandmenonnmaffioldnibnmaffioldnibts1654ts1654davidvnibdavidvnibbrettalcornbrettalcornphil.a.hawkinsphil.a.hawkinssumo_nibsumo_nibcsol94csol94brodeebrodeemthamyeeznibmthamyeeznibtkemptkempreallandalreallandalnib-vishnib-vishxhua026xhua026kim-mckenna-endavakim-mckenna-endavajmatasjmatasrasberghoutrasberghoutsachin.patil79sachin.patil79swaff-yswaff-ydean-nibdean-nibnicknguyennib2nicknguyennib2l.lourencol.lourencofe_nibfe_nibsatkaursatkaurtom-endavatom-endavasobithasobithaparitoshdhebar_endavaparitoshdhebar_endavanib-danielnib-danielvinualwisnibvinualwisniblguanlguansanjaydholakiya.nibtravelsanjaydholakiya.nibtravelsam-jacobsonsam-jacobsonbradley.williamsbradley.williamssannat-digarsannat-digargaurijadhavgaurijadhavmgw114mgw114ruilunliruilunlipkernaghanpkernaghanadamwitanowski-nibadamwitanowski-nibdominic-cheung-nibdominic-cheung-nibthomas.austin.nibthomas.austin.nibluke.morrisseyluke.morrisseyyparulkar-nibyparulkar-nibreddevilmancnpmreddevilmancnpm

Keywords

Readme

@nib-components/prototype

A single script and style bundle for rapid prototyping. Includes react, react-dom and almost all our components.

Caution: NEVER use it in a real application!

Using it in production will add a lot of unnecessary bloat to your app and result in sub-optimal page-load times.

Usage

CodePen

Create a new CodePen from our template CodePen.

Roll-your-own

<html class="flexbox">
  <head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>nib Prototype</title>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700,800|Roboto:300,400,700"/>
  </head>
  <body>
    <div id="app"/>
    <script src="https://unpkg.com/@nib-components/prototype/dist/prototype.js"></script>
    <script type="text/babel">
      ReactDOM.render(
        <Padding all={6}>
          <Heading size={1}>Hello World!</Heading>
          <Margin top={3}>
            <PrimaryButton>Click me!</Button>
          </Margin>
        </Padding>,
        document.getElementById('app')
      );
    </script>
  </body>
</html>

Packages that have a single default export will be accessible on the window using their display name e.g. @nib-components/heading will be accessible via window.Heading (or just Heading)

Packages that do not have a single default export will be accessible on the window using their package name and will require a little extra effort to use with react e.g. @nib-components/table will be accessible via window.table (or just table and usable like:

const {Table, Row, Cell} = table;
<Table>...</Table>

Updating

When changes have been made to any of the components in the DLS, or a new component has been added to the DLS, this repo will require updating. To update this repo:

  1. Install the latest versions of all the DLS components

npm-check -u is a helpful utility for updating package versions

Make sure you save the updated versions in package.json

  1. Edit the version in package.json and increase the minor version

Bumping the minor version also means resetting the patch version e.g. 0.2.3 to 0.3.0

  1. Commit and push your changes
  2. Run npm publish
  3. Update the template CodePen to use the most recently published version of this package from unpkg.com
  • Settings > JavaScript and update the version number in the URL

Use the exact version number so existing CodePens will continue working regardless of recent breaking changes.

Change log

1.1.0

  • update - bump all components to use monorepo components.

1.0.0

  • update - remove css dependency and bump all components to use styled-components versions.