Code Monkey home page Code Monkey logo

Comments (16)

backspaces avatar backspaces commented on May 26, 2024 3

I'm sympathetic with the npm package request, but honestly, for a project this young, lets:

Npm is attempting to integrate with github and I use it for one of my dependencies. See:
https://docs.npmjs.com/cli/install
.. and search for github.

The code is delightfully clean (too bad pako isn't, alas). My wish is coming in the next issue :)

from upng.js.

landsman avatar landsman commented on May 26, 2024

We was talk about this with author today.
I hope that npm module will be created soon.
It was a shame not to have it.

from upng.js.

photopea avatar photopea commented on May 26, 2024

I asked them to make a web interface for making NPM packages: npm/npm#16625

BWT. I think that GitHub should create its own alternative to NPM, since a lot of interesting software is already here and GIT protocol seems to be uncomfortable for that.

from upng.js.

awerlang avatar awerlang commented on May 26, 2024

Also, to be usable in a Node environment, the file needs this change on the top:

import pako from 'pako';
export var UPNG = {};

from upng.js.

landsman avatar landsman commented on May 26, 2024

Some progress guys? :-)

from upng.js.

mn4367 avatar mn4367 commented on May 26, 2024

I'm already using UPNG.js in a node module style for this module. If @photopea is OK with it, I can try to publish a pure UPNG.js module. But I can't guarantee any time frame although it shouldn't take too long.

from upng.js.

Scimonster avatar Scimonster commented on May 26, 2024

@awerlang Actually you shouldn't use ES6 module syntax yet, as it is not supported by NodeJS. Use

var pako = require('pako');
module.exports = {};

from upng.js.

awerlang avatar awerlang commented on May 26, 2024

@Scimonster you're right, I should have mentioned this requires a transpiler

from upng.js.

Scimonster avatar Scimonster commented on May 26, 2024

It looks like someone did publish this to NPM. https://www.npmjs.com/package/upng

Unfortunately without attribution to the original author.

from upng.js.

landsman avatar landsman commented on May 26, 2024

Sad! @photopea !

from upng.js.

mn4367 avatar mn4367 commented on May 26, 2024

Yes, and also without a public repository and a bunch of IntelliJ IDEA config stuff which shouldn't be part of an NPM module.

from upng.js.

photopea avatar photopea commented on May 26, 2024

@Scimonster would you please be able to get UPNG.js to npm, too?

from upng.js.

mn4367 avatar mn4367 commented on May 26, 2024

@Scimonster would you please be able to get UPNG.js to npm, too?

Should @Scimonster do it or should I do it.

from upng.js.

Scimonster avatar Scimonster commented on May 26, 2024

@photopea Yes, with the same collaborator agreement we had on UTIF.

from upng.js.

photopea avatar photopea commented on May 26, 2024

@Scimonster Ok, I made you a collaborator. Please keep UPNG.js usable in a browser as it is. Add a mention about NPM into README.md . Thank yo very much. I really appreciate your help :)

from upng.js.

Scimonster avatar Scimonster commented on May 26, 2024

Done. I had to upload as upng-js because as i said above, someone already took upng.

from upng.js.

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.