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

infinity-modules-olafurd18

v1.0.2

Published

This is a school project from RU that I was assigned to finish. You can absolutely use the components found here but be aware that there are probably better styling libraries out there :)

Downloads

6

Readme

infinity-modules-olafurd18

This is a school project from RU that I was assigned to finish. You can absolutely use the components found here but be aware that there are probably better styling libraries out there.

Component Overview

I set up a page dedicated to presenting the various components that this library has to offer and it can be found here.

Components

This library offers a variety of React components that can be used in any way necessary. Here's a high-level overview for each component:

Modal

A dialogue modal which can be render child nodes.

import { Modal } from 'infinity-modules-olafurd18';

// jsx
<Modal
    isOpen={this.state.openModal}
    onClose={() => this.setState({openModal: false})}
>
    <Modal.Title>Modal title here</Modal.Title>
    <Modal.Body>Modal body here</Modal.Body>
    <Modal.Footer>Modal footer here</Modal.Footer>
</Modal>

| prop | description | | ---- | ----------- | | isOpen | A boolean that specifies whether the modal is visible or not | | onClose | A function that is run whenever the 'close' button on the modal is clicked |

Carousel

Image slider component with smooth transitions.

import { Carousel } from 'infinity-modules-olafurd18';

// jsx
<Carousel 
    images={[
        'http://image1.png', 
        'http://image2.png'
    ]}
    size={'medium'} // small, medium, large
/>

| prop | description | | ---- | ----------- | | images | An array of valid image URL's | | size | Specifies the size of the carousel. Either small, medium (default) or large |

Row & Col

Grid system using Col and Row components where a row can be diveded into twelve columns. If total size of columns in a row exceeds twelve then the overflowing columns will drop down to next row.

import { Col, Row } from 'infinity-modules-olafurd18';

// jsx
<Row>
    <Col size={4}> // Size = 1 - 12
        // Some content here
    </Col>
</Row>

| prop | description | | ---- | ----------- | | size | Specifies how many of the 12 row portions this column should span |

DatePicker

Component to choose a date from a calendar. This component's pop-up page works very similar to its Material-UI counterpart. You can click on the year in the header to select the year or the header date to select a specific day of month.

import { DatePicker } from 'infinity-modules-olafurd18';

// jsx
<DatePicker 
    locale="is-IS"
    onDatePick={(dateString) => { /* Do something here */ }}
/>

| prop | description | | ---- | ----------- | | onDatePick | A function run whenever the user clicks on a date in the picker | | locale | The locale of the date passed to onDatePick and displayed in the text box |

CartoonNetworkSpinner

Spins a few cartoon network character images at a given interval.

import { CartoonNetworkSpinner } from 'infinity-modules-olafurd18';

// jsx
<CartoonNetworkSpinner interval={5} />

| prop | description | | ---- | ----------- | | interval | The interval between spins, in seconds |