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

@misterzik/minerva.js

v1.0.4

Published

Minerva.JS is a Simple and Elegant Carousel Slider, and Minerva JS is a super lightweight carousel component. Written under the react framework.

Downloads

5

Readme

logo

Minerva.js

Minerva.JS is a Simple and Elegant Carousel Slider, and Minerva JS is a super lightweight carousel component. Written under the react framework.

Data: We populate each slider and build a slider via a configuration that we will pass through the properties once invoked.

Types of Content: There are two types of content at this moment. The first method is text-based; You can pass data via text. The second method is using an Image Url/Link.

logo

The text content will display in the center of the slider. The Image will take the "full" width of the overall slider container.

Installation

You can install the library through npm or download the zip file and install it on your root folder.

Usage

Verify that the library is installed, and ready to use. The next step is to import it to your React Project;

import { Carousel } from "@misterzik/minerva.js/carousel";

Initialize The Component

Initialize the component wrapper by using;

<Carousel
  data={[]}
  controls={{}}
  widthSize={"500px"}
  heightSize={"300px"}
  duration={"30"}
/>

Application Properties Interface

data: It's used to propagate and build the slider.

[
  {
    alt: "Minerva JS Plugin", // Alt Context
    textContent: true, // Enable Text Content Profile
    text: "Simple and Elegant Carousel", // Show Text Content Profile
    style: "mn-it", // Custom Style
  }
]

controls: It's used to display arrows within your sliders and enable Auto Slide.

{ 
  enabled: true, 
  styled: "arrows", 
  customStyle: "" 
}

widthSize: It's used to give the container the width size. Pass pixel or %.

heightSize: It's used to give the container the height size. Pass pixel or %.

duration: It's used to give the duration of each slider when using Auto Slide. Pass in seconds a number only;

10 seconds = 10
20 seconds = 20
30 seconds = 30

EX: duration={20}

More info - http://misterzik.github.io/minerva.js/