Socket
Socket
Sign inDemoInstall

roarr

Package Overview
Dependencies
2
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0

10

package.json

@@ -17,3 +17,3 @@ {

},
"description": "Roarr.",
"description": "JSON logger for Node.js.",
"devDependencies": {

@@ -43,3 +43,5 @@ "ava": "^0.22.0",

"keywords": [
"log"
"log",
"logger",
"json"
],

@@ -71,3 +73,3 @@ "main": "./dist/log.js",

},
"version": "1.0.0"
}
"version": "1.1.0"
}

8

README.md

@@ -9,3 +9,3 @@ # Roarr

Roarr.
JSON logger for Node.js.

@@ -59,10 +59,12 @@ * [Usage](#usage)

To put it in words:
Put it into words:
1. First parameter can be either a string (message) or an object.
* If first parameter is an object (context), the second parameter must be a string (message).
2. Arguments after the message parameter are used to enable [printf message formatting](https://en.wikipedia.org/wiki/Printf_format_string).
1. Arguments after the message parameter are used to enable [printf message formatting](https://en.wikipedia.org/wiki/Printf_format_string).
* Printf arguments must be of a primitive type (`string | number | boolean | null`).
* There can be up to 9 printf arguments (or 8 if the first parameter is the context object).
<!-- -->
```js

@@ -69,0 +71,0 @@ import log from 'roarr';

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