Socket
Socket
Sign inDemoInstall

opencadc-util

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    opencadc-util

OpenCADC JavaScript utility toolkit.


Version published
Weekly downloads
10
Maintainers
1
Install size
23.8 kB
Created
Weekly downloads
 

Readme

Source

OpenCADC Util package (1.0.2)

Provides some utility objects to perform some repetitive tasks.

StringUtil

format()

Similar to Java's String.format(), but simplified. Uses numerical indexing (starting at 1), and an array of values to replace them with, in order.

matches()

Run regex test() on a given regex for a given String.

contains()

If a given String is contained within another. Optional case check

endsWith()

If a String ends with another one.

hasLength() / hasText()

If a given String has any length at all, and contains something relevant.

FAQs

Last updated on 13 Feb 2018

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