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

react-strontium

v0.9.0

Published

## ⚠️⚠️⚠️ 2024-02-20: This library is super outdated! It was a pet project of mine for a few years, several years ago, and I've not maintained it since, aside from a few updates I just pushed today. Please do not expect further updates to this library fro

Downloads

108

Readme

Strontium

⚠️⚠️⚠️

2024-02-20: This library is super outdated! It was a pet project of mine for a few years, several years ago, and I've not maintained it since, aside from a few updates I just pushed today. Please do not expect further updates to this library from me.

If you find it useful and want to fork it or continue contributing here, I'll pop my head in every once in a while, but a few words:

  • React has changed a lot since I wrote this library, and I don't personally use class components anymore, nor do I recommend them.
  • When I originally wrote this, I blazed past all sorts of TypeScript best practices, which means the definitions and such provided by the distribution of this library are... wanting. Tread with caution.
  • The library contains a lot of cruft from unfinished projects within the code, so be prepared for some headscratchers if you dive in.

All that said, I enjoyed working on this project, and if it's helped you with anything, then I'm very happy! You're welcome to message in the Issues tracker if I can help with anything, but, again, I won't be contributing anything further to this library.

Thank you!

Overview

A boilerplate TypeScript and React framework usable for SPAs that (as of 2018-Jan-10) is in its infancy, but relatively usable.

This project is built against React v16, and is usable with the current version of React (v16.2, as of this writing).

Some notes, which will change over time as this project progresses and matures:

  • Testing is present, via Jest and Enzyme, but test coverage is still needs improvement. Tests will be a major focus going forward, and will play a significant role in refactoring the code for readability, testability, and usability.
  • This project has added features available to it, if React Transition Group, Bootstrap, and React-Bootstrap components are incorporated into your build process or included via script tags in your application.
  • React itself is not a dependency of this project. That is intentional, and left up to you to decide how to integrate.
  • TypeScript definitions for all classes and modules are included in the package, allowing you to import this project and utilize it in other TypeScript projects.

Building Locally

  1. Clone the repo
  2. Install dependencies via yarn: yarn install
  3. Run tests: yarn run test
  4. Build output: yarn run build

Project Use

This package is currently deployed to npm as react-strontium package. APIs have changed significantly between tagged alpha versions, and will continue changing until stabilized at v1.

More to come later, on actual usage.