Socket
Socket
Sign inDemoInstall

raptorpoint

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    raptorpoint

This package allows you to quickly and briefly receive HTML code, so far this is a test version, there will be more functionality in the future!


Version published
Maintainers
1
Created

Readme

Source

About RaptorPoint:

This package allows you to quickly and briefly receive HTML code, so far this is a test version, there will be more functionality in the future!

How to connect RaptorPoint if you installed it as a module

If you installed RaptorPoint as a module, then in order to fully use all the functions, you need to do the following:

.html

Instead of "main.js" you need to insert the name of the file in which you will work .js Import the module with the command below↓ import raptor from "./raptorPoint.js";

How to access a module

In order to refer to the function that is in the module, we need to register "raptor." (without quotes) and then write the function you need

I think those who installed RaptorPoint as an npm package know how to use them

:)

The following is a list of functions, they are described, and how to use them.

:)

test();

Full appeal: raptor.test(); This command does almost nothing, it is needed in order to check if everything works.

random();

Full appeal: raptor.random(maxSum); maxSum - Maximum amount This function returns a random value, the maximum value that can be returned can be configured in the maxSum attribute.

getId();

Full appeal: raptor.getId(id); id - ID which you need Returns the id you entered in the attribute id.

getHtml();

Full appeal: raptor.getHtml(id); id - id the html of the element you need. Returns the html element id that you entered in the id attribute.

getTag(); and getTags();

Full appeal: raptor.getTag(id, tag); raptor.getTags(id, tag); id - element html id. tag - the tag that will be searched for in the id element whose id was entered in the id attribute, in getTags will search for all tags that were referenced in this attribute. Returns the tag you were looking for, get Tags() returns an array.

viewing();

Full appeal: raptor.viewing(name); name - the name of the array in which are stored knowing Print to the console all elements in the array specified in the name attribute.

getClass();

Full appeal: raptor.getClass(className); className - class name Returns an array of html tags with the class that you specified in the className attribute.

searchClass();

Full appeal: raptor.searchClass(className); className - class name Output to the console all html elements with the class specified in the attribute className.

editSrc();

Full appeal: raptor.editSrc(id, path_to_file); id - element html id path_to_file - the path to the file Changes the crc html of the id element which was written in the id attribute.

editId(); and editClass();

Full appeal: raptor.editId(id, newId); raptor.editClass(id, newClass); id - element html id newId - new id newClass - new class Changes the id/html class of the id element whose id was written in the id attribute

editDiv();

Full append: editDiv(id, newId, newClas, value); id - element html id newId - new id newClass - new class value - new value Changes the id/class/value of the html element whose id was written in the id attribute, if in all attributes except id prescribe ""set or null then this attribute will not change

editTXT();

Full append: raptor.editTXT(id, newText); id - element html id newText - new text Changes the html value of the id element which was written in the id attribute

end

I apologize if I made a mistake somewhere and I don’t speak English and I wrote it all through Google translator

author PinBib

FAQs

Last updated on 26 Nov 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc