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

@beslogic/utils

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beslogic/utils

Library of utils for javascript/typescript

latest
npmnpm
Version
1.4.0
Version published
Maintainers
0
Created
Source

@beslogic/utils

Contains javascript class/functions/etc and Typescript types that could be useful in any projects.

  • Documentation
  • Changelog

Out-of-the-box Module Augmentations

For additional typing convenience and type-safety, we provide some opt-in out-of-the-box TypeScript Module Augmentation for existing types.

To opt-in, simply add import "@beslogic/utils/types/augmentation" or /// <reference types="@beslogic/utils/types/augmentation" /> to any TypeScript (.ts or .d.ts) file included by your TSConfig.

Vite

If using Vite, You should add the following to vite-end.d.ts:

// https://vite.dev/guide/env-and-mode.html#intellisense-for-typescript

/// <reference types="vite/client" />

interface ViteTypeOptions {
  // By adding this line, you can make the type of ImportMetaEnv strict to disallow unknown keys.
  strictImportMetaEnv: unknown
}

interface ImportMetaEnv {
  // Add your .env VITE_* variables here
  readonly VITE_API_URL: string
}

Keywords

beslogic

FAQs

Package last updated on 22 Jul 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