Git Product home page Git Product logo

Comments (6)

Manwe-777 avatar Manwe-777 commented on May 30, 2024 1

Hi there!

The code is already compatible with browsers, so it should be relatively easy to set up, also there is an npm package if you use that for development, just npm install tool-db (no webpack required)

I'll keep the issue open, I like the idea!

from tool-db.

Manwe-777 avatar Manwe-777 commented on May 30, 2024 1

Implemented at f69a438

Url is https://unpkg.com/tool-db/bundle.js

from tool-db.

dderevjanik avatar dderevjanik commented on May 30, 2024

Sorry, how can I use tool-db without webpack ?

Could you please provide an example?

from tool-db.

Manwe-777 avatar Manwe-777 commented on May 30, 2024

Theres a bunch of ways actually, the easiest and dirtiest is probbaly downloading the compiled files from npm directly, or you can use something like rollup or browserify instead of webpack.. the package is context agnostic.

from tool-db.

dderevjanik avatar dderevjanik commented on May 30, 2024

Yeah, I saw several packages bundling "isomorphic" code both for nodejs and browser and publishing directly on npm.
It would be cool to have tool-db bundled and published to npm, so you can use unpkg.com as CDN and then put it into html like <script src="https://unpkg.com/[email protected]/dist/index.js"></script> or at least have it on other common CDN.

from tool-db.

Manwe-777 avatar Manwe-777 commented on May 30, 2024

The package is already available at npm, except there is no single bundled file, thus you cant use it directly with unpkg yet :)

https://www.npmjs.com/package/tool-db

from tool-db.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.