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

@dsb-norge/dsb-webkit

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dsb-norge/dsb-webkit

A collection of common DSB frontend functionality

  • 1.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

DSB Webkit

A collection of common DSB frontend functionality

Installation

  1. npm i @dsb-norge/dsb-webkit --save-dev
  2. Add "resolveJsonModule": true to compilerOptions in tsconfig.json

Styles

In index.ts

import '@dsbnorge/dsb-webkit/dsb-styles.css'

Quasar

In quasar-variables.sass

@import '@dsb-norge/dsb-webkit/quasar-variables.sass'

I18N

In @/plugins/i18n.ts

import { mergeLocalizations } from '@dsb-norge/dsb-webkit/i18n.utils.ts'
import commonNbNO from '@dsb-norge/dsb-webkit/locales/nb-NO.json'
import nbNO from '@/locales/nb-NO.json'

const mergedNbNO = mergeLocalizations(commonNbNO, nbNO)
type MessageSchema = typeof mergedNbNO

FAQs

Package last updated on 01 Oct 2024

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