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

@portable-ehr/feedcore

v1.2.2

Published

This module include multiple libraries that are likely to be required in any Feed implementation.

Downloads

1

Readme

feedcore librairies

This module include multiple libraries that are likely to be required in any Feed implementation.

  • api : the basic functions which, in combination with sapi, makes routes handling trivial, notably:

    • handeReq
    • applyHandlerForCommand
    • handleApiSuccess
    • handleApiError
    • defaultApiErrorHandling
    • handleNotFound
    • handleApiUnreachable
    • handleMalformed
    • handleAuth
    • handleUnknownCommand
    • handleGetOk
    • handleGetError
    • logRequest
    • reply
  • config.feed : the base definitions of

    • Feed and
    • Feeds classes,
    • EFeedState and
    • EFeedKind enums, and
    • FeedByFeedKind mapOb.
  • config : the nodecore/lib/config NodeConfig class extension, common to all Feeds.

  • my-dao : uses nodecore lib/my-dao to provide :

    • FeedRecord and
    • FeedRecordItem classes, used to extend Record classes using :
    • Field and
    • RecordJoined classes, with the help of :
    • OnlyInserted and
    • InsertAndUpdated function for Field class extension, and :
    • Referenced,
    • UniOwned and
    • MultiOwned functions for RecordJoined class extension.
  • my-dao.patient : provides :

    • BirthPlaceRecord class
    • CivicAddressRecord class
    • MultiAddressRecord class
    • ContactRecord class
    • FullContactRecord class
    • MultiContactRecord class
    • PatientLegitIdRecord class
    • PatientRecord class
    • PatientReachabilityRecord class
    • EGender enum
    • ELanguage enum
  • my-dao.practitioner : provides :

    • PractitionerLegitIdRecord class and
    • PractionerRecord class
  • my-dao.rdv : provides :

    • RdvRecord class
    • RdvPractitionerRecord class
    • AppointmentRecord class
    • RdvDispositionRecord class, and
    • ERdvDisposition enum
    • ERdvLocation enum
    • ERdvConfirmationStatus enum
  • my-dao.privateMessage : provides :

    • PrivateMessageAttachmentRecord class
    • PrivateMessageRecord class
    • PrivateMessageContentRecord class
    • PrivateMessageStatusRecord class, and
    • PrivateMessageStatusRecord enum
  • dao shared : provides EIssuerKind enum

  • feed.core : provides :

    • Eflow enum and its eFlowsToBackend and eFlowsToFeed EItems.
    • FeedOp class
    • logFeedOpCall and
    • expectedErrorLogMessage, unexpectedErrorShortMessage, expectedErrorShortMessage, expectedErrorStatus functions
    • enhanced by DeclareFeedOpError() versions of IpSocketError, StatusError, Unpacking, FeedHubError constructors.
  • feed.core.ops : provides :

    • FeedPullSingle class
    • FeedPullBundle class
    • FeedBundleResponse class
    • FeedPushSingle class
  • feedhub.ops : provides :

    • BackendPatientBundleResponse and PullBackendPatientBundle classes
    • BackendIdIssuersBundleResponse and PullBackendIdIssuersBundle classes
    • PullSingledBackendPatientReachability class
    • PushSinglePrivateMessageNotification class
  • nao.feedhub : provides :

    • PostToFeedHub class
    • performFeedHubPost function
    • performFeedHubGet function
    • pingFeedHubServer function
    • pingBackendServer function
    • reportWtf function
  • sapi : provides the Provider class that serves as template for the Feed own sapi implementation to extend with working methods. It includes :

    • static _PullBundles(), _PullSingles(), _PushSingles(), _AddSingles(), _UpdateSingles(), _RetireSingles() and _Search() methods,

    • pingFeedHub() and pingBackend() methods,

    • practitionerFeedOps() method filled with :

      • pullPractitionerBundle()
      • pullSinglePractitioner()
      • addSinglePractitioner()
      • updateSinglePractitioner()
      • retireSinglePractitioner()
      • searchPractitioner()
    • patientFeedOps() method filled with :

      • pullPatientBundle()
      • pullSinglePatient()
      • addSinglePatient()
      • updateSinglePatient()
      • retireSinglePatient()
      • searchPatient()
    • patientReachabilityFeedOps() method filled with :

      • pushSinglePatientReachability()
    • privateMessageStatusFeedOps() method filled with :

      • pushSinglePrivateMessageStatus()
    • privateMessageFeedOps() method filled with :

      • pullSinglePrivateMessageContent()
    • appointmentFeedOps() method filled with :

      • pullAppointmentBundle()
      • pullSingleAppointment()
    • rdvDispositionFeedOps() method filled with :

      • pushSingleRdvDisposition()
    • backendIdIssuersFeedOps() method filled with :

      • pullBackendIdIssuersBundle()
    • backendPatientFeedOps() method filled with :

      • pullBackendPatientBundle()
    • backendPatientReachabilityFeedOps() method filled with :

      • pullSingleBackendPatientReachability()
    • backendPrivateMessageNotificationFeedOps() method filled with :

      • pushSinglePrivateMessageNotification()