Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@blockchain-com/constellation

Package Overview
Dependencies
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blockchain-com/constellation

  • 0.0.18
  • npm
  • Socket score

Version published
Weekly downloads
106
decreased by-47%
Maintainers
4
Weekly downloads
 
Created
Source

Constellation

This is the component library used by Blockchain.com, used across all its apps (frontend).

It contains:

Services

This is used to make service (api) calls easier.

tracking

Components

This is used to create our primitive components

Icons

Utils

This is used to create our util functions that are used across our apps.

Development

Following the patterns outlined here https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#can-i-import-esm-packages-in-my-typescript-project there are a couple considerations to keep in mind when creating new components in the constellation package.

  1. File names are in .ts and .tsx like normal but when using import from one file to another you'll need to reference them as .js and use the full path. So import { Foo } from '.' becomes import { Foo } from './index.js
  2. Each .tsx you create needs to have import React from 'react' at the top in order for your project to interperet the files correctly.

FAQs

Package last updated on 14 Dec 2021

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