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

notacursor

v0.0.8

Published

A library for giving cursor cool looks in web pages.

Downloads

4

Readme

notAcursor Project

notAcursor-minecraftSword-preview

notAcursor library allows you to easily transform your ordinary cursor into something extraordinary in web pages.

Installation

CDN

To use notAcursor >

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/notacursor.css">
  • Copy and paste this link on your html head tag.

And >

<script src="https://cdn.jsdelivr.net/npm/[email protected]/notacursor.js"></script>
  • Copy and paste this to your body tag at the end.

Installation Done! Now to implement Cursor effect >

notAcursor-type1

notAcursor-type1-preview

<!-- notAcursor-type1 -->
<div class="notAcursor-dot-type1" data-notacursor-dot></div>
<div class="notAcursor-outline-type1" data-notacursor-outline></div>
  • Just copy and paste it to anywhere in your .html body tag.
  • This one is type1, To use type2 simply Change type1 to type2 >

notAcursor-type2

notAcursor-type2-preview

<!-- notAcursor-type2 -->
<div class="notAcursor-dot-type2" data-notacursor-dot></div>
<div class="notAcursor-outline-type2" data-notacursor-outline></div>

More notAcursor Types are given below >

notAcursor-type3

notAcursor-type3-preview

<!-- notAcursor-type3 -->
<div class="notAcursor-dot-type3" data-notacursor-dot></div>
<div class="notAcursor-outline-type3" data-notacursor-outline></div>

notAcursor-pic

  • Use your random pic or gif as cursor.
  • Just replace your_pic.png to your actual photo, Like abcd.png or abcd.jpg or abcd.gif

notAcursor-pic-preview

<!-- notAcursor-pic -->
<div class="notAcursor-dot-pic" data-notacursor-dot></div>
<img src="your_pic.png" alt="Cursor Image" 
  class="notAcursor-outline-pic" data-notacursor-outline>

notAcursor-minecraftSword

notAcursor-minecraftSword-preview

<!-- notAcursor-minecraftSword -->
<div class="notAcursor-dot-minecraftSword" data-notacursor-dot></div>
<img src="https://ik.imagekit.io/iamovi/notAcursor/minecraft-sword.png?updatedAt=1701079351519" alt="Cursor Image" 
  class="notAcursor-outline-minecraftSword" data-notacursor-outline>

notAcursor-apple

notAcursor-apple-preview

<!-- notAcursor-apple -->
<div class="notAcursor-dot-apple" data-notacursor-dot></div>
<img src="https://ik.imagekit.io/iamovi/notAcursor/apple.png?updatedAt=1701079346488" alt="Cursor Image" 
  class="notAcursor-outline-apple" data-notacursor-outline>

Important Note

To show default Cursor >

Preview of Get default cursor

html, button, a {
  cursor: auto !important;
}
  • Add this on your .css file.

If

Preview of dark-bg.png

You change background / background-color to darkish color in body, then notAcursor-type1 and notAcursor-type2 may not be visible Cuz it's also dark. To fix this >

/* to show notAcursor in dark background */
.notAcursor-dot-type1,.notAcursor-dot-type2{background-color:#fff !important}.notAcursor-outline-type1{border:2px solid hsla(0,0%,100%,.5)}.notAcursor-outline-type2{border:3px solid hsla(0,0%,100%,.5) !important}
  • Copy and paste this code to your .css file And done >

Preview of fix-if-dark-bg.png


Quick Start

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>notAcursor</title>

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/notacursor.css">    
    <style>
      button {
          background-color: aquamarine;
          cursor: pointer;
          display: block;
          border: 1px solid black;
          margin: auto;
          margin-top: 150px;
          padding: 10px;
      }
      button:hover {
        border-radius: 10px;
      }
  </style>
  </head>
  <body>

    <!-- notAcursor-type1 -->
    <div class="notAcursor-dot-type1" data-notacursor-dot></div>
    <div class="notAcursor-outline-type1" data-notacursor-outline></div>      

    <button>Test ME!</button>
    
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/notacursor.js"></script>
  </body>
</html>

Visit notAcursor Website for more information.

License

This project is licensed under the MIT License.

Author

Maruf OVi

[email protected]


I tried to made this readme as easy as possible for reading and understanding. If you come across a bug, have a question, want to propose a new feature, or just want to chat, feel free to contact me or report an issue.

Tysm for reading 🌸.