npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@indra.ai/logdeva

v0.0.92

Published

The Log Deva is the manager of the logging events in deva.world.

Downloads

18

Readme

Log Deva

This is the README file for Log Deva, a component of the Deva system.

Log Deva is a component of the Deva system designed to handle logging and event tracking. It provides functionalities for logging various events and actions within the Deva ecosystem. With Log Deva, you can easily track and monitor the activity and progress of your Deva agents. It offers listeners for state, action, question, answer, and error events, allowing you to capture and log important information. Log Deva also includes methods and functions for generating unique IDs, retrieving status information, and accessing help documentation. Choose Log Deva for efficient and comprehensive event logging in your Deva projects.

Overview

Log Deva is designed to handle logging and event tracking within the Deva ecosystem. It provides functionalities for logging various events and actions that occur within the system.

Installation

To install Log Deva, you can use npm:

npm install @indra.ai/logdeva

Usage

To use Log Deva, you can import it into your project:

const LogDeva = require('@indra.ai/logdeva');

Variables

  • relay: The relay variable holds the event name for the relay to the CLI.

Listeners

  • devacore:state: The core listener for state events.
  • devacore:action: The core listener for action events.
  • devacore:question: The core listener for question events.
  • devacore:answer: The core listener for answer events.
  • devacore:error: The core listener for error events.

Functions

Functions are local functionalities specific to Log Deva that can be used in listeners and methods.

  • this.func.log_action(packet): Logs an action event.
  • this.func.log_state(packet): Logs a state event.
  • this.func.log_question(packet): Logs a question event.
  • this.func.log_answer(packet): Logs an answer event.
  • this.func.log_write(packet): Logs a write event.

Methods

Methods are exposed as commands for Log Deva and other Deva components to use.

  • $ #logdeva uid: Generates a unique ID from Log Deva.
  • $ #logdeva status: Returns the status of Log Deva.
  • $ #logdeva help: Provides help for using Log Deva.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Thank you for choosing Log Deva for your logging and event tracking needs. If you have any further questions or need assistance, feel free to reach out.

Copyright (c) 2023 Quinn Michaels