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

announcement-package

v1.0.1

Published

Shared Announcement Model for Backend and Frontend

Downloads

5

Readme

announcement-package

This is an NPM package for the Announcement model used in the backend of our project. It includes the schema definition in PRJ666/Back-End announcement-package/announcementSchema.js.

Installation

You can install this package in your project using npm or yarn:

npm install announcement-package or npm i announcement-package
# or
yarn add announcement-package

Usage

After installing the package (in the root of the front-end repo PRJ566Project), the following import of the package is made in the PRJ566Project pages/api/announcements.js.

import { Announcement } from "announcement-package";

Author

License

This package is provided under the MIT License.

Contributing

If you'd like to contribute to this package or report issues, please visit the GitHub repository.

Backend Package Creation Process

kwong in PRJ666-Back-End/announcement-package on   dev [⇣!?] is 📦 1.0.0 via ⬢ v18.18.0 
➜ npm login
npm notice Log in on https://registry.npmjs.org/
Login at:
https://www.npmjs.com/login?next=/login/cli/8e7bae3b-7b61-48c3-a022-40686222b0cb
Press ENTER to open in the browser...

Logged in on https:// registry.npmjs.org/.
npm publish
npm WARN publish npm auto-corrected some errors in your package.json when publishing.  Please run "npm pkg fix" to address these errors.
npm WARN publish errors corrected:
npm WARN publish Removed invalid "scripts"
npm notice 
npm notice 📦  [email protected]
npm notice === Tarball Contents === 
npm notice 402B announcementSchema.js
npm notice 122B index.js       
npm notice 207B package.json   
npm notice === Tarball Details === 
npm notice name:          announcement-package              
npm notice version:       1.0.0                             
npm notice filename:      announcement-package-1.0.0.tgz    
npm notice package size:  462 B                             
npm notice unpacked size: 731 B                             
npm notice shasum:        7a86359658fba0b20df8809a9e54cfdefbcbb32f
npm notice integrity:     sha512-VHwvgef8JD+aO[...]9WF5W5Rr4XXbA==
npm notice total files:   3                                 
npm notice 
npm notice Publishing to https://registry.npmjs.org/ with tag latest and default access
+ [email protected]

Frontend Package Installation Process

kwong in PRJ566Project on   dev [✘!+?] via ⬢ v18.18.0 took 40m 3.0s 
➜ npm install announcement-package

added 1 package, and audited 734 packages in 1s

144 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Making updates to the package for future Developers

For developers: When making updates/fixes to this package run the following commands in order to publish a new version of the package.

npm version patch
npm publish