Socket
Socket
Sign inDemoInstall

@slipmatio/toolbelt

Package Overview
Dependencies
0
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @slipmatio/toolbelt

**Note: this project is under active development, DO NOT USE IN PRODUCTION**


Version published
Weekly downloads
41
increased by78.26%
Maintainers
1
Install size
7.78 kB
Created
Weekly downloads
 

Changelog

Source

0.2.2 (2024-01-05)

  • Feat: allow passing Router instance to getNextPath.

Readme

Source

Slipmat Toolbelt

Note: this project is under active development, DO NOT USE IN PRODUCTION

General utilities for Web development

Features

Browser

  • copyToClipboard(content: string): boolean
  • getCookie(name: string): string | null
  • storageAvailable(type: 'localStorage' | 'sessionStorage'): boolean

Vue

  • getNextPath(router?: Router): string - returns the value of ?next query param or /

Installation

pnpm add @slipmatio/toolbelt

Usage

import { tool } from @slipmatio/toolbelt

Development

Install dependencies

pnpm i

Run development server

pnpm dev

Run tests

pnpm test

Contributing

Contributions are welcome! Please follow the code of conduct when interacting with others.

Elsewhere

Follow @uninen on Twitter

Keywords

FAQs

Last updated on 06 Jan 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc