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 🙏

© 2026 – Pkg Stats / Ryan Hefner

acen-graphql-template

v1.1.0

Published

Business Gateway graphql services.

Readme

Setup

Please follow the below steps to create a new service from the service template.

  1. Clone the cbg-graphql-servicetemplate codebase from BitBucket.

  2. In package.json, update package name with the service name and description with a meaningful description. eg: cbg-graphql-consumerservice

  3. In sonarProject.ts, update sonar.projectKey with service name. eg: cbg-graphql-consumerservice

  4. In sonarProject.properties, update sonar.projectName and sonar.projectKey and with service name.

  5. Update the app application-config.yml and error-config.yml with service specific property values.

  6. Add GQL schema files to src\schema\typedefs.

  7. Add resolvers.ts to src\schema\resolvers.

  8. Add datasources.ts to src\datasources.

  9. Add necessary sub folders (or) .ts files to src and test folders if required.

  10. Update the errorHandler.ts files in the src\common\errorHandlers.ts

  11. Update handler.ts and handlerLocalDev.ts to include updated classes and functions.

  12. Update listener port in handlerLocalDev.ts to a unique port which is not used by any other CBG services.

  13. Rename interface.ts in \src\interfaces\interface.ts as appropriate serviceNameInterface.ts

  14. Add the necessary test cases in the test folder.

  15. Remove unnecessary dependencies and scripts from package.json if any. Update the merge-schema script with appropriate file names instead of *.gql.

  16. Then do npm install to download all required dependencies. Build should be success and the workspace should be free of errors.

  17. Delete README.md

  18. Rename README-TEMPLATE.md to README.md and make any specific changes required.

  19. In BitBucket create a repository for the new service with master and develop branches.

  20. Clone the new service repository and copy the contents from cbg-graphql-servicetemplate to the new service folder.

  21. Commit and Push the changes to BitBucket.