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

godown

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

godown

Atomic Web Component Library.

latest
Source
npmnpm
Version
3.14.2
Version published
Weekly downloads
401
-58.96%
Maintainers
1
Weekly downloads
 
Created
Source

godown

Atomic Web Component Library.

Install

npm i godown

Import

Import one component.

import Alert from "godown/alert.js";

Import all components.

import { Alert } from "godown";

Usage

HTML

<godown-alert title="Alert"></godown-alert>

JS

import { Alert } from "godown";

const alert = new Alert();
alert.title = "Alert";

document.body.appendChild(alert);

React

React components is now in the standalone package (@godown/react).

import Alert from "@godown/react/alert";

export default function () {
  return <Alert title="Alert" />;
}

CSS variable

Element-scoped css variables will start with --${tagName}--.

<godown-button style="--godown-button--focus-scale: .95;"></godown-button>

Undefined

Undefined elements at /web-components/${name}/component.js.

import Button "godown/web-components/button/component.js";

customElements.define("my-button", Button);
<my-button>Click me</my-button>

Keywords

web-components

FAQs

Package last updated on 06 Sep 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