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

trollhand

v0.0.2

Published

HTML short hand collection for fun.

Downloads

1

Readme

javascript TrollHand

WELCOME HUMAN !!!

Thank you for visiting TrollHand!

What is TrollHand

TrollHand Is a short hand collection for fun.
Help to speed up the javascript development and shrink the code with an easy step and simple logic.\

!!!BECAREFULL!!!!
!!!!ThrollHand is just a global const collection!!!!
!!!!TROLLHAND NOT WORKING WELL WITH SOME THREESHAKERS!!!!
The blackhole can recognise the TrollHand so that should be fine. \

How to use it.

Tag trolling.

| key | linked to | C.C | C.S | set | get | |-----|---------------------------|-----|-----| ----| ----| | w | window | Y | N | - | - | | q | document | Y | N | - | - | | d | document.getElementById | Y | N | - | - | | c | getElementsByClassName | Y | N | - | - | | n | getElementsByName | Y | N | - | - | | t | getElementsByTagName | Y | N | - | - | | v | value | N | Y | Y | Y | | i | innerHtml | N | Y | Y | Y | | i | textContent | N | Y | Y | Y | | s | style | N | Y | Y | Y | | r | remove | N | Y | Y | N | | l | length | N | Y | N | Y |

lower case for get

upper case for set

object trolling.

| key | function | int | string | |-----|---------------------------|-----|--------| | T | toString | Y | Y | | F | parseFloat | Y | Y | | I | parseInt | Y | Y | | P | parseInt().toString() | Y | Y | | R | replace | N | Y |

absolute trolling

S = never die try

examples

change element id (troll things first)

// <div id='first_id'></div>
    dD('first_id', 'second_id');
// result : <div id='second_id'></div>

change element className

// <div id='element_id' class='some clasess here'></div>
    dC('element_id', 'new classes');
// result: <div id='element_id' class='new classes'></div>

get element className

// <div id='element_id' class='some clasess here'></div>
    dc('element_id');
// return : 'some clasess here'

get element innerHTML

// <div id='element_id'> cool html part</div>
    di('element_id');
// return : '2 cool html part'

get element innerHTML with parseInt

// <div id='element_id'> cool html part</div>
    di('element_id').I();
// return : 2

get element innerHTML with parseInt toString

// <div id='element_id'> cool html part</div>
    di('element_id').I().T();
// return : '2'

or

// <div id='element_id'> cool html part</div>
    di('element_id').P();
// return : '2'

set element innerHTML

// <div id='element_id'> cool html part</div>
    dI('element_id', ' VOW ');
// result :  <div id='element_id'> VOW </div>

THANKS FOR ALL THE FISHES AND BYE FOR NOW

If you find any issues, not working parts or some logic break please contact with me ASAP. Thank you for all! LLAP!

Soldy