Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

caldus

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caldus

caldus root placeholder

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

caldus

Just a temp placeholder for a comming-soon caldus root project.

Formatted placeholder text in a code block with markdown syntax.

Installation

npm install caldus

Usage

This package exports two classes: Zero and Npm. Here's an example usage of these classes:

const { Zero, Npm } = require('caldus');

const zero = new Zero('MyZero', 'testing');
zero.myPurpose(); // logs "MyZero's purpose is testing"
zero.logMe(); // logs "Logging MyZero..."

const npm = new Npm();
npm.printMe(); // logs "ID: 0, Name: npm, Purpose: npm"

API

Zero

Represents a Zero object.

  • name: string - The name of the Zero object.
  • purpose: string - The purpose of the Zero object.
new Zero(name, purpose)

Creates a new Zero object.

  • name: string - The name of the Zero object.
  • purpose: string - The purpose of the Zero object.
myPurpose()

Prints the purpose of the Zero object.

Npm

Represents an Npm object that extends Zero.

  • id: number - The unique ID of the Npm object.
  • name: string - The name of the Npm object.
  • purpose: string - The purpose of the Npm object.
new Npm([id], [prop])

Creates a new Npm object.

  • id: number (optional) - The unique ID of the Npm object. Defaults to a unique 6-digit number.
  • prop: string (optional) - The name of the Npm object. Defaults to "npm".
printMe()

Prints information about the Npm object.

License

ISC

Author

[SI] Slavko Ivanovic

Keywords

FAQs

Package last updated on 27 Feb 2023

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