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

cannonian

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cannonian - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json

@@ -12,3 +12,3 @@ {

],
"version": "0.0.3",
"version": "0.0.4",
"dependencies": {

@@ -15,0 +15,0 @@ "antr": "*"

@@ -10,4 +10,8 @@ Cannonianjs API

###In Node.js
Install using:
npm install cannonian
Include using:
var cannonianjs = require('cannonian');
##Usage

@@ -26,12 +30,12 @@

###Functions
* .conv(p, fromType, toType) - converts between types
p - optional. parameter to convert. if not given, will use the cannonian object that the function is being called from.
fromType - optional. type of object currently. if not given, type will be calculated.
toType - optional. type you wish to convert to. if not given, will return cannonianjs object.
####.conv(p, fromType, toType) - converts between types
- p - optional. parameter to convert. if not given, will use the cannonian object that the function is being called from.
- fromType - optional. type of object currently. if not given, type will be calculated.
- toType - optional. type you wish to convert to. if not given, will return cannonianjs object.
* .getType(p) - returns the type of the given parameter.
p - optional. parameter. if not given, will use the cannonian object that the function is being called from.
####.getType(p) - returns the type of the given parameter.
- p - optional. parameter. if not given, will use the cannonian object that the function is being called from.
* .parse(type, p) - translates object into cannonianjs object style format
type - required. type of the parameter given
p - parameter to convert
####.parse(type, p) - translates object into cannonianjs object style format
- type - required. type of the parameter given
- p - parameter to convert
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