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 🙏

© 2025 – Pkg Stats / Ryan Hefner

ms-cursor

v1.2.1

Published

🐁 Modern and Simple cursor design

Downloads

4

Readme

Ms-cursor 🖱️🪄

GitHub Version

Demo

It has never been so easy to have a modern mouse design !

 

Demo : https://ms-cursor-demo.vercel.app/

 

Installation

Install with npm:

npm i ms-cursor

or install with yarn:

yarn add ms-cursor

 

Initialize:

Add JS script:

with yarn or npm :

<script src='./node_modules/ms-cursor/index.js'></script>

with CDN :

<script src='https://cdn.jsdelivr.net/npm/[email protected]/index.min.js'></script>

In HEAD of index.html file:

<link rel="stylesheet" href="./node_modules/ms-cursor/style.css" />

Or initialize with CDN in HEAD of index.html file:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/style.min.css"/>

 

How to use it

After initialize MS-Cursor you can set the cursor. You just need to pass an attribute to the script tag.

If you do not specify anything, the mouse will take the default values!

 

Size

you can adjust the size of the mouse drag.

<!--Default 30-->

<script
    src="./node_modules/ms-cursor/index.js"

    size="60" 
></script>

 

Pause Animation

When the mouse movement stops an animation is triggered. Have this attribute you can disable it.

<!--Default enable-->

<script
    src="./node_modules/ms-cursor/index.js"

    pause-animation="disable" 
></script>

 

Difference

This inverse effect corresponds to the CSS property:

mix-blend-mode: difference

The colors of the mouse animation when hovering over an element.

<!--Default enable-->

<script
    src="./node_modules/ms-cursor/index.js"

    difference="disable" 
></script>

 

Cursor

By default the cursor remains visible except when the mouse stops. You can completely disable the cursor with this attribute.

<!--Default enable-->

<script
    src="./node_modules/ms-cursor/index.js"

    cursor="disable" 
></script>

 

Color

You can change the color of mouse effect.

<!--Default white with difference enable and black without difference -->

<script
    src="./node_modules/ms-cursor/index.js"

    color="#ffffff" 
></script>

 

Circle-Outline

When the mouse stops, an animation starts and a border appears. You can disable it with this attribute.

<!--Default enable-->

<script
    src="./node_modules/ms-cursor/index.js"

    circle-outline="disable" 
></script>

 

Color-Outline

When the mouse stops, an animation starts and a border appears. You can change the color of the border with this attribute. This attribute not working if you disable pause-animation attribute

<!--Default same color than color attribute-->

<script
    src="./node_modules/ms-cursor/index.js"

    color-outline="#ffffff" 
></script>

 

Gradient

You can activate a gradient for your mouse. This attribute replaces the color attribute. You just need to pass every color separate by a comma into a string.

<!--Default none-->

<script
    src="./node_modules/ms-cursor/index.js"

    gradient="#1f005c, #48005f, #680060, #830060, #9c155f, #b22c5e, #c5415d, #d5585c, #e36e5c, #ef865e, #f89d63, #ffb56b" 
></script>

 

Founder

| Guillaume Reygner | | ----------- | | MS-Cursor Creator |  

License

MS Cursor is licensed under the Hippocratic License.

 

Code of conduct

This project and everyone participating in it is governed by the MS Cursor Code of Conduct. By participating, you are expected to uphold this code.