Skip to content

Instantly share code, notes, and snippets.

@plouc
plouc / App.jsx
Last active July 2, 2017 03:54
Mozaïk realtime communication example
// mozaik-demo/src/App.jsx
import React from 'react';
import Mozaik from 'mozaik/browser';
import Realtime from './Realtime.jsx';
Mozaik.Registry.add('realtime.example', Realtime);
const MozaikComponent = Mozaik.Component.Mozaik;
React.render(<MozaikComponent/>, document.getElementById('mozaik'));
@rauchg
rauchg / README.md
Last active January 6, 2024 07:19
require-from-twitter
@coolaj86
coolaj86 / how-to-publish-to-npm.md
Last active April 2, 2024 20:18
How to publish packages to NPM

Getting Started with NPM (as a developer)

As easy as 1, 2, 3!

Updated:

  • Aug, 08, 2022 update config docs for npm 8+
  • Jul 27, 2021 add private scopes
  • Jul 22, 2021 add dist tags
  • Jun 20, 2021 update for --access=public
  • Sep 07, 2020 update docs for npm version