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

@nanostores/logger

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nanostores/logger - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

8

logger/index.d.ts

@@ -27,3 +27,3 @@ import type { AnyStore } from 'nanostores'

/**
* Disable action logs with specific name.
* Disable logs of actions with a specific name.
*/

@@ -33,3 +33,3 @@ ignoreActions?: string[]

/**
* Disable specific log types.
* Disable specific types of logs.
*/

@@ -47,4 +47,4 @@ messages?: LoggerOptionsMessages

* let destroy = logger({
* 'Profile Store': $profile,
* 'Users Store': $users
* 'Profile': $profile,
* 'Users': $users
* })

@@ -51,0 +51,0 @@ * ```

@@ -26,13 +26,13 @@ import {

badges: {
action: badge('#5351A4'),
arguments: badge('#429BD7'),
action: badge('#00899A'),
arguments: badge('#007281'),
change: badge('#0E8A00'),
error: badge('#c21f1f'),
mount: badge('#1F49E0'),
new: badge('#4FA574'),
old: badge('#a44f4f'),
unmount: badge('#5C5C5C'),
value: badge('#429BD7')
error: badge('#C30000'),
mount: badge('#0059D1'),
new: badge('#0C7800'),
old: badge('#943636'),
unmount: badge('#5E5E5E'),
value: badge('#8A6F00')
},
bold: 'font-weight: 700',
bold: 'font-weight: 700;',
logo: `

@@ -44,3 +44,3 @@ padding: 0 5px 2px;

`,
regular: 'font-weight: 400'
regular: 'font-weight: 400;'
}

@@ -47,0 +47,0 @@

{
"name": "@nanostores/logger",
"version": "0.1.0",
"description": "Logger of lifecycles, actions and changes for Nano Stores",
"version": "0.1.1",
"description": "Logger of lifecycles, changes and actions for Nano Stores",
"keywords": [

@@ -6,0 +6,0 @@ "nanostores",

@@ -6,8 +6,22 @@ # Nano Stores Logger

Logger of lifecycles, actions and changes for **[Nano Stores]**,
Logger of lifecycles, changes and actions for **[Nano Stores]**,
a tiny state manager with many atomic tree-shakable stores.
* **Clean.** All messages are stacked in compact, collapsible nested groups.
* **Descriptive.** Detailed descriptions with a clear comparison of the old and new values.
* **Pretty designed.** Compact logo and color badges for quick reading.
* **Flexible.** Ability to disable and filter certain types of messages.
* **Supports all types of stores**: Atom, Map and Deep Map.
[Nano Stores]: https://github.com/nanostores/nanostores/
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./img/dark.png">
<source media="(prefers-color-scheme: light)" srcset="./img/light.png">
<img alt="Nano Stores Logger" src="./img/light.png">
</picture>
</p>
## Docs
Read full docs **[here](https://github.com/nanostores/logger#readme)**.
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