@vivaxy/nib

🔬Run commonjs modules in browser environment.

https://github.com/vivaxy/nib

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • ✓
    CITATION.cff file
    Found CITATION.cff file
  • ✓
    codemeta.json file
    Found codemeta.json file
  • ✓
    .zenodo.json file
    Found .zenodo.json file
  • â—‹
    DOI references
  • â—‹
    Academic publication links
  • â—‹
    Committers with academic emails
  • â—‹
    Institutional organization owner
  • â—‹
    JOSS paper metadata
  • â—‹
    Scientific vocabulary similarity
    Low similarity (6.9%) to scientific vocabulary

Keywords

browser commonjs debug exports modules node node-in-browser nodejs require

Keywords from Contributors

interactive zsh-plugin packaging network-simulation hacking embedded optim standardization projection generic
Last synced: 4 months ago · JSON representation ·

Repository

🔬Run commonjs modules in browser environment.

Basic Info
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 9
  • Releases: 1
Topics
browser commonjs debug exports modules node node-in-browser nodejs require
Created over 7 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog Funding License Citation

README.md

NiB

Run Node.js modules in browser environment.

NPM Version NPM Downloads MIT License Standard Version

Install

yarn add @vivaxy/nib or npm i @vivaxy/nib

Usage

html <html> <body> <script src="https://unpkg.com/@vivaxy/nib/index.js"></script> <script> window.node.init({ base: '.', nodeBuiltInBase: 'https://unpkg.com/@vivaxy/nib', nodeModulesBase: 'https://unpkg.com' }); window.node.require('./index.js'); </script> </body> </html>

Options

  • base: path from html to your commonjs module
  • nodeBuiltInBase: path from html to @vivaxy/nib
  • nodeModulesBase: path from html to node_modules

In your ./index.js you can now use require and module.exports!

See test and test source.

Owner

  • Name: vivaxy
  • Login: vivaxy
  • Kind: user
  • Location: Shanghai

Citation (CITATION.cff)

cff-version: 1.1.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Xu
    given-names: Ye
    orcid: https://doi.org/10.5281/zenodo.7813340
title: vivaxy/NiB
version: v0.4.0
date-released: 2023-04-10

GitHub Events

Total
Last Year

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 49
  • Total Committers: 3
  • Avg Commits per committer: 16.333
  • Development Distribution Score (DDS): 0.286
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
vivaxy x****7@1****m 35
Renovate Bot b****t@r****m 9
dependabot[bot] 4****] 5
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 5 months ago

All Time
  • Total issues: 0
  • Total pull requests: 27
  • Average time to close issues: N/A
  • Average time to close pull requests: about 12 hours
  • Total issue authors: 0
  • Total pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.11
  • Merged pull requests: 14
  • Bot issues: 0
  • Bot pull requests: 27
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (15)
  • renovate[bot] (12)
Top Labels
Issue Labels
Pull Request Labels
dependencies (15)

Packages

  • Total packages: 1
  • Total downloads:
    • npm 5 last-month
  • Total dependent packages: 2
  • Total dependent repositories: 1
  • Total versions: 5
  • Total maintainers: 1
npmjs.org: @vivaxy/nib

Run Node.js modules in browser environment.

  • Versions: 5
  • Dependent Packages: 2
  • Dependent Repositories: 1
  • Downloads: 5 Last month
Rankings
Dependent packages count: 8.9%
Dependent repos count: 10.3%
Forks count: 15.4%
Stargazers count: 16.7%
Average: 16.8%
Downloads: 32.8%
Maintainers (1)
Last synced: 5 months ago