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

gdsii

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gdsii

GDSII file format parser

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

gdsii

GDSII file format parser for JavaScript.

Copyright (C) 2024, Tiny Tapeout LTD.

Usage

Install the package using npm:

npm install gdsii

Then you can use the parser in your code. Here's a minimal Node.js example that parses a GDS file and prints all records:

import { parseGDS, RecordType } from 'gdsii';
import fs from 'fs';

const gds = fs.readFileSync('path/to/your/file.gds');

for (const { tag, data } of parseGDS(gds)) {
  console.log(`${RecordType[tag]}:`, data);
}

Minimal SVG renderer example

The example directory contains a minimal SVG renderer that runs in the browser. You can run it by cloning the repository and running:

npm install
npm start

Running the tests

npm test

License

This project is licensed under either the MIT or Apache 2.0 license, at your option.

Keywords

vlsi

FAQs

Package last updated on 08 May 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