
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
chemical-pictogram-test
Advanced tools
This package provides a collection of chemical hazard pictograms along with their metadata and SVG content. It allows you to easily retrieve and display chemical hazard information in your applications. The package includes various functions to get all pi
This package provides a collection of chemical hazard pictograms along with their metadata and SVG content. It allows you to easily retrieve and display chemical hazard information in your applications. The package includes various functions to get all pictograms, search for a specific pictogram by name, and filter pictograms based on hazard type.
To install the package, you can use either npm or yarn. Run one of the following commands in your project directory:
npm install chemical-pictogram-test
# or
yarn add chemical-pictogram-test
import { getPictograms, findPictograms, searchPictogramsByHazard,PictogramType} from 'chemical-pictogram-test';
const pictograms = getPictograms();
console.log(pictograms);
GHS01).Explosive).Physical Hazard).If you're looking for a specific pictogram, you can use the findPictograms() function. You just need to provide the name of the pictogram you're searching for, and it will return the corresponding pictogram object.
const explosivePictogram = findPictograms("Explosive");
console.log(explosivePictogram);
This function will return the pictogram object for the specified name. If no pictogram is found, it will return undefined.
To find all pictograms related to a specific hazard type, use the searchPictogramsByHazard() function. You can filter pictograms by their hazard type, such as Physical Hazard, Health Hazard, etc.
const physicalHazardPictograms = searchPictogramsByHazard("Physical");
console.log(physicalHazardPictograms);
This will return an array of pictograms that are categorized under the given hazard type. If no pictograms are found for the specified type, it will return an empty array.
FAQs
This package provides a collection of chemical hazard pictograms along with their metadata and SVG content. It allows you to easily retrieve and display chemical hazard information in your applications. The package includes various functions to get all pi
We found that chemical-pictogram-test demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.