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

hyoo_sync_client

v0.0.489

Published

Synchronizes world state with server and local DB.

Downloads

2,736

Maintainers

jinjin

Keywords

$hyoo_sync_client$hyoo_sync$hyoo$hyoo_sync_yard$mol_object2$mol$mol_ambient$mol_owning$mol_delegate$mol_fail_hidden$mol_fail$mol_type_writable$mol_type$mol_func_name$mol_func$hyoo_crowd_unit$hyoo_crowd$mol_int62$mol_charset_encode$mol_charset$node$node_modules$mol_exec$mol_log3$mol_tree2_from_json$mol_tree2_from$mol_tree2$mol_span$mol_tree2_from_string$mol_error_syntax$mol_error$mol_tree2_to_string$mol_tree2_to$mol_term_color$mol_term$mol_env$mol_fail_log$mol_promise_like$mol_promise$mol_fail_catch$mol_data_enum$mol_data$mol_data_setup$mol_data_value$mol_data_error$mol_error_mix$hyoo_crowd_peer$mol_crypto_auditor$mol_crypto$mol_crypto_native$mol_base64_url$mol_base64$mol_base64_encode$mol_base64_decode$mol_dev_format$mol_dev$mol_charset_decode$mol_charset_encoding$mol_mem$mol_wire_solo$mol_wire$mol_wire_sub$mol_wire_pub$mol_wire_cursor$mol_wire_atom$mol_wire_fiber$mol_wire_pub_sub$mol_after_tick$mol_after$mol_key$mol_guid$mol_after_frame$mol_after_timeout$mol_wire_method$mol_wire_task$mol_compare_deep$mol_compare$mol_type_foot$mol_type_tail$mol_wire_plex$mol_wire_sync$hyoo_sync_peer$mol_state_local$mol_state$mol_object$mol_dom_context$mol_dom$mol_storage$mol_mem_persist$mol_wire_solid$mol_mem_cached$mol_wire_probe$mol_file$mol_const$mol_action$mol_compare_array$hyoo_crowd_world$hyoo_crowd_land$mol_memo$mol_wrapper$hyoo_crowd_clock$hyoo_crowd_time$hyoo_crowd_node$hyoo_crowd_struct$hyoo_crowd_reg$hyoo_crowd_fund$mol_dict$mol_wait_timeout$mol_wait$mol_promise_promise$mol_wire_race$hyoo_sync_masters$mol_wire_async$mol_db$mol_db_transaction$mol_db_store$mol_db_index$mol_db_response$mol_db_database

Readme

$hyoo_sync_client

Synchronizes world state with server and local DB.

Domain Model

export class $my_person extends $hyoo_crowd_struct {

  name( next?: string ) {
    return this.sub( 'name', $hyoo_crowd_reg ).str( next )
  }

  descr( next?: string ) {
    return this.sub( 'descr', $hyoo_crowd_text ).text( next )
  }
  
  skills( next?: string[] ) {
    return this.sub( 'skills', $hyoo_crowd_list ).list( next ).map( String )
  }

}

Sync start

  const yard = new $hyoo_sync_client
  const world = yard.world()
  // ...
  yard.sync()

Make new entity

  const person = world.Fund( $my_person ).make( ... rights )
  console.log( person.id() )

Rights exaples

  • () or ( [''] ) - I'm god, others not, until I give rights
  • ( [], [], ['0_0'] ) - any one can add, but can't change other's additions
  • ( [], [''] ) - only I can change, but can't give rights to others

Use existen entity

  const person = world.Fund( $my_person ).Item( person_id )