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

@techor/log

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@techor/log

A set of human-friendly and beautiful console log syntax

  • 1.2.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
decreased by-8.96%
Maintainers
1
Weekly downloads
 
Created
Source

A set of human-friendly and beautiful console log syntax

NPM Version NPM package ( download / month ) Follow @aron1tw Github release actions

Getting Started

npm install @techor/log

Usage

import log from '@techor/log'
@techor/log
log(new Error('Foo'))

log`[compile] test 3 items \`bg:red\` test ${'omg'} fwe [few] fuck20ms 20ms`
log`${[1, 2, 3]}`
log`-> prettier arrow`
log`<- prettier arrow`
log`**highlight**`
log`*italic*`
log`~~strikethrough~~`
log`__underline__`
log`!!warning!!`
log`..silence..`
log`up +1+`
log`down -1-`
log`(normal)`
log`[normal]`
log`<normal>`
log`npx create-next-app <project>`
log`5:24:11 AM test`
log`dist/index.cjs.map 15.5KB`
log`$t show timestamp`

log.add`add +3+ files`
log.del`delete -3- files`
log.conflict`Custom elements cannot be defined again`
log.fail`too many requests`
log.info`build in 3ms`

console.log('')
log.i`change File change detected. Starting incremental compilation...`
log.i`File change detected. Starting incremental compilation...`
log.i`esm ${4} entries`
log.i`cjs ${4} entries`
log.i`iife ${4} entries`
log.i`entries`

console.log('')
log.error`Type Cannot use import statement outside a module`

console.log('')
log.conflict`Version Custom elements cannot be defined again`

console.log('')
log.pass`Test ${3} cases`

console.log('')
log.ok`Up to date, audited *1076* packages in .786ms.`

console.log('')
log.del`Delete -3- files`
log.add`Add +3+ files`

console.log('')
log.o`Valid commit format "Fix(Compiler): Import user config file path problem"`
log.x`Invalid commit format .Techor Conventional Commits.`

console.log('')
log.success`All files exported to desktop ${3}`
log.warn`Warn Same file name`
log.fail`Too many requests`

log`${[1, 2, 3, 'fg:blue', 'text:center', 'italic', true, false]}`

NPM Version

Keywords

FAQs

Package last updated on 28 Mar 2023

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

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