
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@blackglory/log
Advanced tools
```sh npm install --save @blackglory/log # or yarn add @blackglory/log ```
npm install --save @blackglory/log
# or
yarn add @blackglory/log
import { log } from '@blackglory/log'
const value = log('foo', 'bar')
// Equivalent to
const value = (console.log('foo', 'bar'), 'bar')
function log<T>(...data: [...any[], T]): T
function time<T>(message: string, fn: () => T): T
function time<T>(message: string, fn: () => PromiseLike<T>): Promise<T>
function timeFunction<Result, Args extends any[]>(
message: string
, fn: (...args: Args) => Result
): (...args: Args) => Result
function timeAsyncFunction<Result, Args extends any[]>(
message: string
, fn: (...args: Args) => PromiseLike<Result>
): (...args: Args) => Promise<Result>
function group<T>(label: string, fn: () => T): T
function group<T>(fn: () => T): T
FAQs
```sh npm install --save @blackglory/log # or yarn add @blackglory/log ```
We found that @blackglory/log demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.