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

abr-npm-5-test-2

v1.4.0

Published

A library of reusable React components and an interface for easily building user interfaces based on Flux.

Downloads

4

Readme

Carbon Codeship Status Travis Status npm

Carbon is a library of reusable React components and an interface for easily building user interfaces based on Flux.

Carbon Factory is supplementary to Carbon; providing tools to easily get your environment and project up and running to start building with React. As well as providing a command line interface to build projects, it manages tasks for compiling your assets and running test suites.

Check out our demo and documentation site for live examples and code snippets.

Documentation

Getting Started

Guides

Tutorials

Running the Example

Carbon has an example page, which demonstrates most of the components with a Flux implementation. This can be used to quickly see a demonstration of the components and/or as an area to test while developing with the components.

To run the example, do the following steps:

  1. Clone the carbon repository (git clone [email protected]:Sage/carbon.git)
  2. cd carbon
  3. npm install
  4. gulp
  5. Navigate to http://localhost:8095/ in your favourite browser

Testing Changes Locally in your App

See the guide on installing unreleased changes

Submitting a Release

  • N.B. Releases are created by Sage Carbon Team. We use semantic versioning

  • If releasing a minor version, create a branch from master.

  • If releasing a patch version, create a branch from the tag you want to patch. This should be the latest tag apart from exceptional circumstances.

  • Bump the version in package.json.

  • Ensure the CHANGELOG.md is up to date.

  • Commit and push changes.

  • If releasing a minor version, open a PR to master.

  • If releasing a patch version, open a PR to release.

  • With the branch/version checked out locally on your machine, run npm run release-version to publish to npm.

  • Once merged, publish a release in GitHub using the new version number as the tag. Make sure to target the correct branch (master or release).

  • If you have released from a branch other than master, open a PR to merge that branch back into master.

Technologies

The following is a list of technologies Carbon utilises:

  • React (JSX) - Components are written using React, as well as the useful JSX syntax.
  • Flux - If your application requires a heavy use of data and interaction, Carbon provides utilities for easily integrating Flux based data stores.
  • Immutable.js - For better performance and data handling, the components rely on using immutable data.
  • Node (CommonJS) - The components (or modules) are written using the CommonJS pattern. This allows for modularity and creating isolated/independent components.
  • Browserify - In order to consume the modular components in the browser, the code is compiled through Browserify. This also allows managing other dependencies such as stylesheets and images.
  • Gulp - To easily run tasks in development, the Gulp task runner is recommended.
  • Babel (ES6) - To benefit from ES6 (and ES7) features, the code is compiled through Babel (this also compiles the JSX).

Licence

Carbon is licensed under the Apache-2.0 licence.

Copyright (c) 2017 Sage Group Plc. All rights reserved.