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

@xras/resource-catalog

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xras/resource-catalog

A browser for available Resources

  • 0.7.0
  • npm
  • Socket score

Version published
Weekly downloads
61
increased by6000%
Maintainers
2
Weekly downloads
 
Created
Source

Resource Catalog

This app provides a user interface to browse available Resources and their features, with the ability to filter the list for easier browsing.

Example

<div id="resource_catalog_app"></div>
<script type="module">
  import { renderCatalog } from "https://esm.sh/@xras/resource-catalog";

  renderCatalog({
    api_url: "/path/to/catalog.json",
    allowed_categories: [],
    allowed_filters: [],
    excluded_categories: [],
    excluded_filters: [],
    disable_bootstrap: false
  });
</script>

Options

OptionValuesRequired
api_urlThe URL for your Resource CatalogTrue
allowed_categoriesA list of filter categories that you want displayed. Ex: ["Resource Type", "Specialized Hardware"]False
allowed_filtersA list of filters you want users to see. Ex: ["GPU Compute"]False
excluded_categoriesA list of filter categories that you want hidden from users. Ex: ["Specialized Support", "Specialized Hardware"]False
excluded_filtersA list of filters that you want hidden from users. Ex: ["ACCESS Allocated", "ACCESS OnDemand"]False
disable_bootstrapIf your site uses Bootstrap and you don't want this app to overwrite your styles, add this parameter.False

Note: Avoid combining allowed_categories and excluded_categories, or allowed_filters and excluded_filters. If an invalid combination is found, it will default to what is specified in the allowed_* options

FAQs

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

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