New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@n3/kit-utils

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@n3/kit-utils

Utils for react applications based on @n3/kit

  • 0.1.0
  • npm
  • Socket score

Version published
Weekly downloads
261
increased by7.85%
Maintainers
5
Weekly downloads
 
Created
Source

@n3/kit-utils

Набор утилит для приложений на базе @n3/kit.

import {
  checkNativeScrollbarSupported,
  get,
  getOS,
} from '@n3/kit-utils';
import type {
  OS,
} from '@n3/kit-utils';

Использование

checkNativeScrollbarSupported

Проверка, рендерится ли нативный скроллбар без вытеснения контента

const isSupported: boolean = checkNativeScrollbarSupported();

get

Асинхронная функция запроса

const url = '/test/';
const params: {
  [key: string]: any;
} = {
  param1: 'value1',
  param2: 'value2',
};

const result: Promise<any> = get(url, params);

getOS

Функиця получения названия и версии операционной системы в формате ua-parser-js.

const os: OS = getOS();

FAQs

Package last updated on 12 Jun 2020

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