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

smart-fred

v0.5.2

Published

## What is FRED? FRED is an open source web application that enables users to edit JSON [FHIR resources](https://www.hl7.org/fhir/resourcelist.html) and [FHIR bundles](https://www.hl7.org/fhir/bundle.html). Built as an HTML5 app, FRED runs entirely within

Downloads

3

Readme

FRED - FHIR Resource Editor

What is FRED?

FRED is an open source web application that enables users to edit JSON FHIR resources and FHIR bundles. Built as an HTML5 app, FRED runs entirely within your web browser - no data is sent to a server. Note - the project is currently under active development. Code is rough, there are bugs and features may change or be removed!

Try it with...

DSTU2:

STU3:

Planned features

Please see roadmap.md

API

| Url Parameter | Value | Action | | ------------- | ----- | ------ | | resource | Escaped url for FHIR resource on CORS enabled server (including open FHIR servers) | Launches with resource open. | | profiles | Escaped url for summarized FHIR profiles (see building resource profiles below) on a CORS enabled server. Included are /profiles/dstu2.json (DSTU2) and /profiles/connect12.json (May 2016 connectathon) | Configures FRED to support for a particular version of FHIR.| | remote | 0 or 1 | Supports controlling FRED from another web application (using postMessage) when set to 1 (demo). | | warn | 0 or 1 | If set to 0, will suppress a warning when navigating away from the page. Useful when developing with auto-reloading. |

Tech

Install FRED locally

  1. Install NodeJs from https://nodejs.org

  2. Clone this repository

    git clone https://github.com/smart-on-fhir/fred
    cd fred
  3. Install the dependencies

    npm install
  4. Run the dev server

    npm run dev
  5. Browse to http://localhost:8080

Commands

| Action | Command | | ------ | ------- | | Start Dev Server | npm run dev | | Build Static JS Bundle | npm run build | | Run Tests | npm run test | | Run Tests on Edit | npm run test-watch |

Building Resource Profiles

To reduce load time, FRED uses a simplified copy of the (>15mb!) JSON FHIR resource profiles. To convert the FHIR resource profiles into this format, ensure the desired profile bundles and valueset bundles are in the fhir_profiles subdirectory and run npm run build-profiles

About

FRED is a project of SMART Health IT, a joint effort of the not-for-profit institutions, Boston Children’s Hospital Computational Health Informatics Program and the Harvard Medical School Department for Biomedical Informatics.

To stay updated on the project follow @gotdan and @smarthealthit on twitter!