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

codemp

v0.7.0

Published

code multiplexer -- javascript bindings

Downloads

546

Readme

codemp

Actions Status docs.rs Status Crates.io Version Gitter Chat GitHub last commit GitHub commits since tagged version Crates.io License

codemp is a collaborative text editing solution to work remotely.

It seamlessly integrates in your editor providing remote cursors and instant text synchronization, as well as a remote virtual workspace for you and your team.

codemp is build with state-of-the-art CRDT technology, guaranteeing eventual consistency.

This means that everyone is guaranteed to converge to a consistent state once all changes are received no matter the order or the timing due to unreliable networks or constrained resources. And similarly, your changes will always carry their original intention. On top of this baseline, codemp's protocol is optimized for speed and low network footprint, meaning even slow connections can provide stable real-time editing.

The full documentation is available on docs.rs.

Usage

codemp is primarily used as a plugin in your editor of choice.

Installation

[!IMPORTANT] The editor plugins are in active development. Expect frequent changes.

codemp is available as a plugin for a growing number of text editors. Currently we support:

Registration

The codemp protocol is openly available and servers may be freely developed with it.

A reference instance is provided by hexed.technology at code.mp. You may create an account for it here. During the initial closed beta, registrations will require an invite code. Get in contact if interested.

An open beta is going to follow with free access to a single workspace per user. After such period, code.mp will switch to a subscription-based model.

Development

This is the main client library for codemp. It provides a batteries-included fully-featured Client, managed by the library itself, and exposes a number of functions to interact with it. The host program can obtain a Client handle by connecting, and from that reference can retrieve every other necessary component.

codemp is primarily a rlib and can be used as such, but is also available in other languages via FFI.

Adding a dependency on codemp is easy:

From Rust

Just cargo add codemp and check the docs for some examples.

From supported languages

We provide first-class bindings for these other programming languages:

| | Build Status | Package | Build Instructions | | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- | | JavaScript | JavaScript Build | NPM Version | README | | Python | Python Build | PyPI Version | README | | Java | Java Build | LuaRocks Version | README | | Lua | Lua Build | Maven Central Version | README |

As a design philosophy, our binding APIs attempt to perfectly mimic their Rust counterparts, so the main documentation can still be referenced as source of truth. Refer to specific language documentation for specifics, differences and quirks.

From other languages

[!IMPORTANT] The common C bindings are not available yet!

Any other language with C FFI capabilities will be able to use codemp via its bare C bindings. This may be more complex and may require wrapping the native calls underneath.

Get in Touch

We love to hear back from users! Be it to give feedback, propose new features or highlight bugs, don't hesitate to reach out!

Contacts

We have a public Gitter room available on gitter.im/hexedtech/codemp. It's possible to freely browse the room history, but to send new messages it will be necessary to sign in with your GitHub account.

If you have a Matrix account, you can join the gitter room directly at #hexedtech_codemp:gitter.im

Contributing

If you find bugs or would like to see new features implemented, be sure to open an issue on this repository.

In case you wish to contribute code, that's great! We love external contributions, feel free to open a PR!