New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

numbot

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

numbot

Parser for text based logs

latest
Source
npmnpm
Version
1.0.9
Version published
Maintainers
1
Created
Source

Parser for text based logs

NOTE: the API is still a bit unstable.

This is a configurable parser for text based logs. For example

  Year 2021
  Week 1
    Mon running 45min

Would return a parsed JS Object in format

[
  {
    day: "2021-01-30T00:00:00.000Z",
    result: {
      move_to_year: "2021",
    },
  },
  {
    day: "2021-01-09T00:00:00.000Z",
    result: {
      move_to_week: "1",
    },
  },
  {
    day: "2021-01-04T00:00:00.000Z",
    result: {
      monday: "Mon",
      text: ["running"],
      duration_mins: "45",
    },
  },
];

For now, see the test file(s) for example of usage.

FAQs

Package last updated on 17 May 2025

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