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

sstudiosdev-lib

v1.0.2

Published

Official sstudiosdev css design and animation library

Downloads

7

Readme

Sstudiosdev-lib-css

Sstudiosdev-lib-css is a CSS library that provides a collection of predefined styles for animations and useful functions implemented in JavaScript, designed to enhance the web development experience.

Features

  • Custom Animations: Access a variety of predefined animations to enhance the interactivity of your website.
  • Ready-to-use JavaScript functions: Provides ready-to-use JavaScript functions that can help you perform common tasks more efficiently.
  • Flexible Customization: Adaptability to customize animation styles according to the specific needs of your project.

Installation

You can install Sstudiosdev-lib-css via npm:

npm i sstudiosdev-lib

Or you can include the CSS file directly in your project:

Animations

<link rel="stylesheet" href="/node_modules/sstudiosdev-lib/lib/css/sstudios-lib-animated.main.css">

Design

<link rel="stylesheet" href="/node_modules/sstudiosdev-lib/lib/css/sstudios-lib-style.main.css">

View complete list of design components

Usage

Once you've installed the library into your project, you can start using its styles and functions as follows:

CSS Animations

To apply a pre-defined CSS animation, simply add the corresponding class to the HTML element you wish to animate. For example:

<div class="fadeIn">Welcome!</div>

See complete list of animations

JavaScript Functions

To utilize the included JavaScript functions, simply import the module and call the desired function. For example:

// formValidation.js

function validateForm(event) {
    var nameInput = document.getElementById('name');
    var emailInput = document.getElementById('email');
    var messageInput = document.getElementById('message');

    if (!nameInput.value || !emailInput.value || !messageInput.value) {
        event.preventDefault();
        alert('Please complete all fields.');
    }
}

document.addEventListener('DOMContentLoaded', function() {
    var contactForm = document.getElementById('contactForm');
    contactForm.addEventListener('submit', validateForm);
});

import to html

<script src="/node_modules/sstudiosdev-lib/lib/js/formValidation.js"></script>

See complete list of js functions

Contribution

Contributions are welcome! If you have ideas to enhance this library, please open an issue or submit a pull request. Make sure to follow the contribution guidelines.

License

Sstudiosdev-lib is released under the MIT License. See the LICENSE file for more details.

Contact

For any questions or suggestions, feel free to reach out to the Sstudiosdev team via [email protected]