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

@xras/resource-catalog

Package Overview
Dependencies
Maintainers
0
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.10.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
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@0.1.0";

  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
allowed_featuresIf you only want to include Resources that have certain features, you can use this parameter. Ex: [{category: "Resource Category", features: ["Classroom Platform"]}]False
excluded_featuresIf you want to exclude Resources that have certain features, you can use this parameter. Ex: [{category: "Resource Category", features: ["Classroom Platform"]}]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 20 Nov 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