Git Product home page Git Product logo

Comments (12)

iamcal avatar iamcal commented on June 12, 2024 1

done! https://www.npmjs.com/package/emoji-datasource

from emoji-data.

iamcal avatar iamcal commented on June 12, 2024

Similar to issue #21, the problem is that npm does not support packages that contain a ton of binary image data; even just the 64px sheets come out to 17MB

from emoji-data.

iamcal avatar iamcal commented on June 12, 2024

A package also already exists on npm called emoji-data, which includes this data file as a vendored dependency: https://www.npmjs.com/package/emoji-data

You can use this repo as a dependency by including the git URL in your own package.json

from emoji-data.

unimonkiez avatar unimonkiez commented on June 12, 2024

As you can see I'm already using your repo as dependency here.

npm dependencies are just more clean and you can exclude some files (only the result spritesheets and the data is needed actually - which are pretty small) from the registry, and speedup the installation process for my own library, same goes for bower.
Would really love seeing that!

from emoji-data.

unimonkiez avatar unimonkiez commented on June 12, 2024

Also your repo has a package json, and even though I installed your repo from github, it still errors (here's my build log) on package.json validation.

from emoji-data.

iamcal avatar iamcal commented on June 12, 2024

i'm not sure about the error you're seeing; sorry

i see you switched your dependency to download from github and that seems like a reasonable interim solution. i've been advised by npm to put the images as a tarball somewhere and have the package download these, rather than including them into the package itself, but that will require a bunch of work

from emoji-data.

unimonkiez avatar unimonkiez commented on June 12, 2024

Exactly, that what I did in my own project, though you can create another repo which will download the images on installation.
Again, that's work.
who knows I might find the time to do it myself

from emoji-data.

iamcal avatar iamcal commented on June 12, 2024

After PR #48 we're pretty close - just need to get the namespace now πŸ‘

from emoji-data.

unimonkiez avatar unimonkiez commented on June 12, 2024

Hey, how is it going?

from emoji-data.

iamcal avatar iamcal commented on June 12, 2024

it's stalled trying to figure out how to not break things for existing users of the emoji-data package. i guess a new name for the npm package makes sense. any suggestions?

from emoji-data.

unimonkiez avatar unimonkiez commented on June 12, 2024

Yeah from experience you'll have to get a new name.
emoji-db, emoji-source, emoji-datasource

from emoji-data.

unimonkiez avatar unimonkiez commented on June 12, 2024

Great! testing usage right now.
You should update your README.md

from emoji-data.

Related Issues (20)

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.