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

rosync-nodejs

v0.1.5

Published

Rosync

Downloads

6

Readme

RoSync

RoSync allows you to automatically sync your files from your local machine or from a online server like Replit. I suggest using replit if you want to collaborate with multiple people as this will make things easier for your team to collaborate on code. However a local server will be more than enough if you are working in solo mode. If you find any issues make sure to Create an issue.

Creating and setting up a RoSync project

To start a RoSync project create an empty folder, Then open a command prompt in that folder and type npm i rosync-nodejs Note: You require node.js 14.0 or above installed however I plan on making it easier to create and manage your Rosync projects later on. Now create a file called index.js and then use the following code sample to make your very own Rosync project.

const RoSync=require('rosync-nodejs');
RoSync.init('PROJECTNAME'); // REPLACE PROJECTNAME WITH THE NAME OF YOUR PROJECT.

Then you run the following command in the command prompt you opened earlier node ..

Upgrading your RoSync project.

To upgrade your RoSync project use the following code sample. And place it in your index.js file.

const RoSync=require('rosync-nodejs');
RoSync.fix();

Then you run open a command prompt in that folder and run the following command node ..

Starting your RoSync project.

Inside of your index.js file replace anything in it and use the following code to start your server. If you are running a local server its pretty simple. You just click the connect button. However if you change the port make sure you put that port in the 14812 box and click connect. If you are using Replit make sure to create a node.js project and follow the steps in the Creating and setting up a RoSync project section. THen click the Run button. Then you need to find your Repl's url and put in inside the box that has the text localhost in it, If you use Replit make sure to use port 0 to speed up the connecting time.

const RoSync=require('rosync-nodejs');
RoSync.StartServer();