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

@based/schema

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@based/schema

To be used with based cloud functions, adds types and utilities.

npmnpm
Version
2.1.0
Version published
Weekly downloads
2.4K
24.99%
Maintainers
1
Weekly downloads
 
Created
Source

@based/functions

To be used with based cloud functions, adds types and utilities.

  • Example based function
import { BasedFunction } from '@based/functions'

const submitVote: BasedFunction<
  { target: number },
  'ok' | 'not-ok'
> = async (based, { target }) => {
  if (target > 10) {
    return 'ok'
  }
  return 'not-ok'
}

export default submitVote

FAQs

Package last updated on 02 Nov 2023

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