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

medplan-types

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

medplan-types

Shared TypeScript types for web and mobile applications

latest
npmnpm
Version
1.0.94
Version published
Maintainers
1
Created
Source

@sykehusprosjekt/types

Shared TypeScript type definitions for both web and mobile applications in the sykehusprosjekt.

Installation

# If you're using npm
npm install @sykehusprosjekt/types

# If you're using yarn
yarn add @sykehusprosjekt/types

Usage

Import the types in your web or mobile application:

import { User, Patient, ApiResponse } from "@sykehusprosjekt/types";

// Use the types in your code
const user: User = {
  id: "123",
  email: "example@hospital.com",
  firstName: "John",
  lastName: "Doe",
  role: "DOCTOR",
  createdAt: new Date().toISOString(),
  updatedAt: new Date().toISOString(),
};

Development

Building the package

npm run build

Publishing a new version

  • Update the version in package.json
  • Build the package: npm run build
  • Publish to npm: npm publish

Available Types

Keywords

types

FAQs

Package last updated on 26 May 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