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

codeswap

v1.3.3

Published

CodeSwap is a Node.Js package that enables you to easily share your coding files with others and download their coding files by providing unique keys and IDS

Downloads

21

Readme

codeswap

codeswap is a tool that allows you to share and receive programming scripts. An account is not required or needed. codeswap is a replacement wrapped for node. To use codeswap, replace the word node on the command line when executing codeswap.

** Installation **

codeswap can be installed by using npm. npm install -g codeswap This will install codeswap globally for use in any directory in which you decide to share a file.

Usage

codeswap wraps your application, so you can pass all of the arguments you would normally pass without using node. codeswap [parameters]

For CLI options, use the -h (--help or help) argument: codeswap -h codeswap --help codeswap help

Using codeswap is simple with the following syntaxes. NOTE In order to share a file, the file must be located within the current working directory of your terminal, otherwise you must provide a path to the file. When a file is downloaded it is saved within the current working directory of your terminal.

Sharing File with codeswap

To share a file, simply use the -s (--share or share) argument: codeswap -s [fileName] codeswap --share [fileName] codeswap share [fileName]

After executing this script, a copy of your file is sent to the codeswap database and you are provided with a KEY and ID. In order for your file to be downloaded a KEY and ID must be provided.

Downloading File with codeswap

To download a file, simply use the -d (--download or download) argument: codeswap -d [KEY] [ID] codeswap --download [KEY] [ID] codeswap download [KEY] [ID]

After executing this script, the desired file is retrieved from the codeswap database and immediately deleted from the database. The file will be saved under its original name within the current working directory of your terminal.

Updates

I intend to continue updating codeswap as a passion project for terminal based file sharing. Any suggestions for future updates or comments are welcomed at [email protected]. Thank you for using codeswap!