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

tbjsl

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tbjsl

A lightweight JS Library

  • 1.1.0
  • latest
  • npm
  • Socket score

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

TBJSL A lightweight JS library

Install

    npm i tbjsl
  

Getting Started

Add the tbjsl.js From The dist directory in the node_modules for this package into your public directory

<script src="/dist/tbjsl.js"></script>
        

Tests

screenshot

    $tb('#test').html(); //get an element with an id of test and return the html
    $tb('#test').html('<p>html changed</p>'); //set the html of an element with an id of test
    $tb('#test').text(); //get an element with an id of test and return the text
    $tb('#test').text('text changed'); //set the text of an element with an id of test
    $tb('#test').val(); //get the value of an input field with an id of test
    $tb('#test').val('12345'); //set the value of an input field with an id of test
    $tb('#test').addClass('test'); //add a class of test to element with an id of test
    $tb('#test').hasClass('test'); //check if an id of test has class of test 
    $tb('#test').removeClass('test'); //remove a class of test from an element with an id of test

Updates

I will be updating the package weekly more functions will be added

Keywords

FAQs

Package last updated on 31 Oct 2021

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