1.0.1 • Published 1 year ago

@no-npm/example v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

The code used for this example:

import { remoteHello as remoteHello101 } from "https://nonpm.io/@no-npm/example@1.0.1";

const version = "1.0.2";

function remoteHello() {
  return `Remote hello world from version ${version}\n${remoteHello101()}`;
}

export { remoteHello, version };

And the demo code:

<html>
  <head>
    <script type="module">
      import { remoteHello } from './index.js';

      document.getElementById('versions').append(remoteHello());
    </script>
  </head>
  <body>
    <h1>Version history:</h1>
    <pre id="versions"></pre>
  </body>
</html>

See the demo in action here.

2.0.0

1 year ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago