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

48

Maintainers

dlegaspi-nibdlegaspi-nibnadeeth-nib1nadeeth-nib1eina-chaneina-chandigio-shanefitzgeralddigio-shanefitzgeralddarcymerrickmudbathdarcymerrickmudbathdeepaaravindan_nibdeepaaravindan_nibyparulkar-nibyparulkar-nibsaranya-nibtravelsaranya-nibtravelaktb-nibaktb-nibtrentontwstrentontwsizabelawojciakizabelawojciakeddyljeddyljgeorgia-batsongeorgia-batsonadamgonlagadamgonlagpaul-neville-thompsonpaul-neville-thompsonterencesunendavaterencesunendavanathanpiper-nibnathanpiper-nibsylvia.zhsylvia.zhdluong.muddluong.muddylanfudylanfukarlb_nzkarlb_nzsteve.goodwin.mudbathsteve.goodwin.mudbathneon-inkblastneon-inkblastparitoshdhebar_endavaparitoshdhebar_endavabencollbencollamelialuwiaamelialuwialareinamarieyulareinamarieyucooldesignlukecooldesignlukejulie.lijulie.liconnorpmcbrideconnorpmcbridetarantojtarantojsamreedysamreedycaleb.faithcaleb.faithshirleyshaoshirleyshaokieranjogradykieranjogradysamjwillis-nibsamjwillis-nibnathan.ford-nibnathan.ford-nibsumo_nibsumo_nibdomcorso-nibdomcorso-nibjmatasjmataskentran.mudbathkentran.mudbathki-nibnzki-nibnzmthamyeeznibmthamyeeznibswaff-yswaff-yhumanforklifthumanforkliftnathananstess.nibnathananstess.nibaidan.mccormack.nibaidan.mccormack.nibmatthewchambers-nibmatthewchambers-niblewis.kwong.niblewis.kwong.nibparisa.heydparisa.heyddelucasnzdelucasnzstephen.wongstephen.wongthomasc42thomasc42sameer-e-digiosameer-e-digiofiona.wangfiona.wangelias.tran.nibelias.tran.nibpkernaghanpkernaghanruilunliruilunlinadeeth.nibnadeeth.nibmgw114mgw114gaurijadhavgaurijadhavsannat-digarsannat-digarbradley.williamsbradley.williamssherensherenash-tulett-nibash-tulett-nibdamodarandamodaranjoshgermon-nibjoshgermon-nibjoshua.coleirojoshua.coleirojuliexxvijuliexxvibreynol5breynol5tbrown-nibtbrown-nibalankirknibtravelalankirknibtraveljohn.hartmann.nibjohn.hartmann.nibdarren.inwood.nibdarren.inwood.nibpaul.kernaghanpaul.kernaghanjohnpaulvaughanjohnpaulvaughanzoechainibzoechainibmeltemcicekbuzcumeltemcicekbuzcugeorgia.batsongeorgia.batsonjoshgerlachjoshgerlachblakehattinghblakehattinghchris.close.nibchris.close.nibphanipericherla-nibphanipericherla-nibdsmithamdsmithambuxtonkbuxtonkc.rhindc.rhindvinualwisnibvinualwisnibtristancampbellmbtristancampbellmbdanieltran-nibdanieltran-nibdguilbertdguilbertblakehaswell-nibblakehaswell-nibtejaswikotatejaswikotamitchellharroldmitchellharroldtjodzio-nibtjodzio-nibdenniskhormbdenniskhormbbillthomas-nibbillthomas-nibdimi7ridimi7riharshahr1994harshahr1994jkumarancjkumarancakash.prakashakash.prakashhenry.shenhenry.shenjairmudjairmudvivien_clifford_nibvivien_clifford_nibjakeherington-nibjakeherington-nibpallavi.barnapallavi.barnaraghu9405raghu9405callumwk-mudbathcallumwk-mudbathbendharveybendharveyrahulrathodmudbathrahulrathodmudbathkhtatkhtats.hossains.hossainbrad.turnerbrad.turnerscottwalkerauscottwalkerauphillip.eadephillip.eademsikkemamsikkemajohanjarvijohanjarvialunarzewskialunarzewskijnwestjnwestwdvalenawdvalenablake_spiersblake_spierssbistasbistamleontieffmleontieffenvoy49envoy49amy.tait.nibamy.tait.nibaschofield-nibaschofield-nibian.darrochian.darrochsyed.husainsyed.husainnib-components-adminnib-components-adminlauriejoneslauriejonesken-ky-wongken-ky-wongcmaysoncmaysonwng-serviceswng-servicesstribsstribsnib-build-agentnib-build-agenteastwoodeastwoodmattbourkemattbourkenarchernarchertmcclenahantmcclenahannib-nz-buildnib-nz-buildchloewickschloewickstgoldthorpe-nibtgoldthorpe-nibhleehleejackmennienibjackmennienibdariasudariasubennettsolnetbennettsolnetairfanairfansamdiamondsamdiamondrovacsekrovacsekroland.molinaroland.molinagnguyennibgnguyennibtom.moktom.mokgl0206gl0206vicvinegarvicvinegaroshan.kottegeoshan.kottegexiaoxinghuxiaoxinghurbowen006rbowen006seanw.nibseanw.nibanishmat27anishmat27sean0x42sean0x42sbeliak-nibsbeliak-nibzander-mudbathzander-mudbathc.lassenc.lassenaglazyrin-mbaglazyrin-mbdmitrymatveevdmitrymatveevvaishalibhakharvaishalibhakharalejop-mudbathalejop-mudbathr3gm1r3gm1maraza1721maraza1721d-martin-nibd-martin-nibapnibapnibsiyengar94siyengar94

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.