npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@orbis-cascade/oca-central-package

v1.1.0

Published

Orbis Cascade Alliance primo-explore central package.

Downloads

2

Readme

Orbis Cascade Alliance primo central package

npm version

contents

| customization | description | repository | |-|-|-| | toggle institutions | allows the list of summit borrowing institutions to be collapsed & expanded | primo-explore-toggle-institutions |

installation

see the releases page for the repository to download CENTRAL_PACKAGE.zip. this file can be uploaded to the Primo Back Office customization manager.

developing

you'll need the latest versions of docker and docker-compose.

the development environment has two parts:

  • the central package code, located in src
  • a generic view package called ALLIANCE, located in test

here's how to use them:

  1. start a development server with npm start.
  2. results will be visible at http://localhost:8003/primo-explore/search?vid=ALLIANCE
  3. you can edit the code in the src folder to change the central package and the dev environment will automatically generate src/js/custom.js.
  4. if you install customization packages using npm, they will automatically be added to src/js/custom.js.
  5. to test inheritance, you can also edit the code in the test/ALLIANCE folder as if you were developing that view. it will automatically refresh.
  6. when finished, you can use ctrl+c to quit the dev environment and docker will clean up the container.

building

when you're finished making changes:

  1. run npm run create-package and choose CENTRAL_PACKAGE at the prompt.
  2. a CENTRAL_PACKAGE.zip file will appear in dist (likely overwriting the previous one).
  3. consider bumping the version number using npm version.
  4. if you cut a new release, consider uploading the CENTRAL_PACKAGE.zip file as a build artifact of the github release.