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

brillouinzone-visualizer

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brillouinzone-visualizer

Javascript package to visualize the Brillouin zone of crystals.

latest
npmnpm
Version
0.4.3
Version published
Maintainers
2
Created
Source

Brillouin zone visualizer

NPM Version

This repository contains a Javascript library to visualize the 1st Brillouin zone (BZ) of crystal structures.

The primary input to the Javascript widget is a json file generated from a crystal structure using seekpath.

See ./seekpath_example_data on how to generate the json file.

A Jupyter widget corresponding to this library is located at https://github.com/osscar-org/widget-bzvisualizer

Usage

Install with

npm install brillouinzone-visualizer

and import with

import { createBZVisualizer } from "brillouinzone-visualizer";

See the src/demo.js for more details.

Development

A demo page is included for development and to demonstrate the usage of the library. Start it by

npm install
npm run dev

Building and using locally

To build the local version of the code as a library that can be used in other javascript projects, use

npm run build
npm pack

This will create a .tgz file that can then be installed by the external application via

npm install /path/to/library-x.y.z.tgz

And the usage is similar to the demo page.

Publishing a new version

To make a new version and publish to npm via GitHub Actions:

npm version major/minor/patch
git push --follow-tags

FAQs

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