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

den.ooo

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

den.ooo

The sleek, feature-rich module registry for Deno. 📦

latest
Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
5
-37.5%
Maintainers
1
Weekly downloads
 
Created
Source

den.ooo

Setup

Deno

deno.json

{
  "den.ooo": "https://esm.sh/den.ooo@1.2.0"
}

Node.js

npm i den.ooo

Usage

import { Registry } from 'den.ooo'
import { GitHub, GitLab, NPM } from 'den.ooo/resolvers'

const registry = new Registry({
  resolvers: [
    GitHub,
    GitLab,
    NPM
  ],
  ... // see below for more detailed customization
})

// Deno
await registry.serve()

// Cloudflare Workers
export default registry
  • domain string - The domain of your server, e.g. den.ooo.

  • versionCache - Provide simple set and get functions that the proxy can use to cache versions of modules to reduce requests to third-party APIs. Where the data is stored is up to you.

  • fileCache - Provide simple set and get functions that the proxy can use to cache JavaScript, TypeScript and WebAssembly files. Where and for how long the data is stored is up to you.

  • features

    • aliases Record<string, string> (default: {})
    • typesHeader boolean (default: false)
    • importMapResolution boolean (default: false)
    • enforceSemVer boolean (default: true)

Stability

All features of den.ooo have been repeatedly tested. Should you nevertheless encounter an unexpected problem, please make sure to open a new issue to draw our attention to the bug so that we can fix it as quickly as possible.

Want to deploy your own registry?

If you're interested in deploying your own version of den.ooo, feel free to take inspiration from the below examples, or if you don't want to waste too much time, use our starter template for Railway instead.

FAQs

Package last updated on 05 Jan 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