New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

torchcode.js

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

torchcode.js

Library that torches chunks of code into custom parameters

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

torch-js

Torch (or Torchcode) is an independently made Javascript library made by Zak Schenck. Its goal is to shorten common functions and lines of code into one line. Many of its attributes are customizable with parameters.

Some common use cases are

• Adding a quick hamburger toggle menu (or any dropdown toggle).
• Quickly utilizing "click" event functions for multiple uses.
• Animations such as menu slider animations and basic movement.
• Quick display and hide on elements.
• Basic loop through array function.
• Basic math and working with numbers.

To start, install the package and run a function by using $T.
A basic function to hide an element would be
$T.off('.yourClass')

FAQs

Package last updated on 05 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc