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

atnote

v1.0.13

Published

Note taking application for Command Line

Downloads

4

Readme

AtNote

Authors & Acknowledgements: Siobhan Niess, Jonathan DiQuattro, Brent Woodward, and Jacob Anderson

About the AtNote

This was a npm package that was created to help users take notes while they are in their termial with ease. Allows users to multitask between note taking and writing code in a non-intrustive process. This is also customizable for each user.

Download & Installation

  • npm i -g atnote

Features

  • @note -This is going to the first command that you are going to run in your terminal after you have successfully downloaded the npm package.
  • @note @new 'your note' -This is going to be the command that you are going to runin your terminal when you want to create a new note and have it saved.
  • @note @showall -This is the command that you are going to want to run in your terminal when you are wanting too view all of the notes that you have saved.
  • @note @showlast -This is the command that you are going to want to run in your terminal when you are wanting to view the last note that you have saved.
  • @note @show <tag> -This is the command that you are going to want to run in your terminal when you are wanting to view all notes that are attached to that specific tag.
  • @note @show -With this command if you run in it in your terminal it will defualt to showing you the last note that you saved.
  • @note @date mm-dd-yyyy -This is the command that you are going to want to run in your teminal if you are wanting to view your notes that you had save on that specific date.
  • @node @delete <tag> -This is the command that you are going to want to run in your terminal if you are wanting to delete all notes that are attached to that specific tag.
  • @note @deleteall -This is the command that you are going to want to run in your terminal if you are wanting to completely delete all of the notes that you have saved.
  • @note @delete -This is the command that you are going to want to run in your terminal if you ware wanting to delete the last note that you have saved. This also help to prevent you from accidentally deleting all of your notes.

List of Features

@note @note @new 'your note' @note @showall @note @showlast @note @show <tag> @note @date mm-dd-yyyy @note @delete <tag> @note @deleteall @note @delete

Links and Resources

Documentation

License

* MIT

Modules

edit-json.js

* This writes a file and takes in a new Set that turns it into an array. Also to establish a file path that was going to work on everyones computer.  

stash.js

* This writes to the file after the last `note` was made and saves the id connected with it. This makes it so you are able to pull down the last `note` that you made. 

toMongoClass.js

* This is the Mongo Schema that creates an instance of the class and holds new objects that will be used tjroughout the code base.

app.js

* This holds the functionality of each of the commands and all of the helper functions connected with the base functions. 

outputParser.js

* This formats the output to the console, separates the `@` from the tags, and adds in the colors that you will see as you use this package.

Dependencies

  • Dotenv
  • Superagent

Running the app

  • Start by downloading the npm package: npm i -g atnote
  • In your command line run: @note
    • This is going to start the package
  • Follow the above feature commands to start your note taking

Tests Made

  • How do you run tests?
    • run the command npm test in your terminal
  • What assertions were made?
    • timeStamp functon
      • check to see if it would return the current date and that it would match the required format
    • argvToString function
      • check to see if it would return a string from an array
      • check if it would remove the @ from each index in the array
      • return the string without the @
    • addTextToSet fucntion
      • check to see if it would return an object with the note property
  • What assertions need to be / should be made?
    • To test all of the promises