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

cardano-lsd

v1.0.3

Published

Reusable cardano frontend components focused on animations. With the whole idea of making everything built on cardano, way more visually appealing.

Downloads

7

Readme

cardano-lsd

npm version GitHub Release Date npm downloads npm peer dependency version GitHub commit activity NPM

Read the Docs

Twitter Follow Discord

If youd like to show us some support to do this more often. You can send ADA or gifts to our ADA Handle ADA Handle

| Statements | Branches | Functions | Lines | | --------------------------- | ----------------------- | ------------------------- | ----------------- | | Statements | Branches | Functions | Lines |

Reusable cardano frontend components focused on animations. (Frontend Agnostic) With the whole idea of making everything built on cardano, way more visually appealing.

For more documentation please go to Documents

Must Know Dependencies

Must adhere to licensing requirements in internal packages. https://greensock.com/licensing/

Standard "No Charge" GreenSock License Copyright 2006-2021, GreenSock, Inc. Plain English Summary: You may use the code at no charge in commercial or non-commercial apps, web sites, games, components, and other software as long as end users are not charged a fee of any kind to use your product or gain access to any part of it. If your client pays you a one-time fee to create the site/product, that's perfectly fine and qualifies under the "no charge" license. If end users are charged a usage/access/license fee, please sign up for a "Business Green" Club GreenSock membership which comes with a comprehensive commercial license. See https://greensock.com/club/ for details. Use at your own risk. No warranties are offered. Please respect the copyright.

Table of contents

Features

  • [X] CardaNostraAdaSpinner
  • [ ] To be added

Installation

Install the library using npm:

npm install cardano-lsd

Documentation

Examples

animated cardano spinner

import React, { useEffect } from "react";
import "./App.css";
import { CardaNostraAdaSpinner } from "cardano-lsd";
const App = () => {
  let spinner;
  useEffect(() => {
    // eslint-disable-next-line react-hooks/exhaustive-deps
    spinner = new CardaNostraAdaSpinner({id:"ada-spinning"});
    spinner.attachSVG();
  },[]);
    return (
      <div id="App">
        
      <div style={{display: "flex", margin: "0px", padding: "0px", width: "100%", backgroundColor: "pink", opacity: "50%" }} id={"ada-spinning"}></div>
      </div>
    );
}

export default App;

import { CardaNostraAdaSpinner } from "cardano-lsd";

spinner = new CardaNostraAdaSpinner({id:"ada-spinning", color:"", delay:0.2, duration:4});
spinner.attachSVG();

<div id={"ada-spinning"}></div>

Development

Clone from git ``git clone https://github.com/CardanoGoat-io/cardano-lsd.git

Install dependencies: ``npm install

Build: ``npm run build

Build package with watcher: ``npm start

Workspace setup

Clone the repository:

git clone https://github.com/CardanoGoat-io/cardano-lsd.git

Test

cardano-lsd uses [package](jest, jsdom, pupeteer) for unit testing.

Run all tests: ``npm test

Test coverage

We use Package to calculate the test coverage.

Run all tests and get coverage: ``npm run coverage

Style guidelines

Docs generation

The majority of package documentation is created by the docstrings in python files. We use sphinx with Read the Docs theme to generate the html pages.

Build docs and open the docs in browser:

make html