img-encode VS iconv-lite

Compare img-encode vs iconv-lite and see what are their differences.


Convert character encodings in pure javascript. (by ashtuchkin)
Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • JetBrains - Developer Ecosystem Survey 2022
img-encode iconv-lite
2 3
196 2,773
- -
0.4 2.4
almost 2 years ago 4 months ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of img-encode. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-14.
  • What is the process for using anything from gethub?(I'm new)
    2 projects | | 14 May 2021
    find the "Code" button on your repo and then copy the url from the box that opens. Then, in a terminal, run git clone (or the url you copied). this downloads the repository to your local system. From there, every repository is different, so you'll have to consult the readme for that repo to understand it better
    2 projects | | 14 May 2021
    Hello all, what is the process for using downloaded gethub files? I've looked around for a while but have never found an answer, but is there some sort of compiling process? a point in the right direction would be appreciated if so. for example, this takes images and turns them into sound to be played back as a spectrogram. the python file is missing quotations. but that's about it. I've never figured out how to use any of these I've tried. anyway, thanks all.


Posts with mentions or reviews of iconv-lite. We have used some of these posts to build our list of alternatives and similar projects.
  • How to avoid using inheritance in modeling a String API built on top of lists, in an imperative language?
    1 project | | 15 Apr 2022
    Then, the Text (or call it String) class is also a List. There are 3 types of Text classes: Text8, Text16 and Text32. Notice I was kind of vague in what I meant there. Take Text8 for example. Using Text8, we have many different encodings. We have the UTF8 encoding, as well as many other "single byte encodings" like ASCII.
  • Let's develop a QR Code Generator, part VII: other kinds of data
    1 project | | 28 Aug 2021
    I won't go into detail about how to map a character into its Shift JIS code for now, as there are good libraries for the job (iconv-lite comes to mind, and you can even have a look to the actual table if you want to whip up your own solution). It's sufficient to say that we'll need 13 bits (213 = 8192) for each one of them.
  • Let's develop a QR Code Generator, part II: sequencing data
    1 project | | 10 Jul 2021
    For Kanji mode... oh dear. First, we'd have to get the Shift JIS code of the pictogram, and the best way to do it is using a library like iconv-lite or, if you want to to it on your own, use its symbol table. Also, not every symbol can be used, but only those in the ranges 0x8140 to 0x9FFC and 0xE040 to 0xEBBF. In the end, a Kanji character will take 13 bits.

What are some alternatives?

When comparing img-encode and iconv-lite you can also consider the following projects:

Numeral-js - A javascript library for formatting and manipulating numbers.

he - A robust HTML entity encoder/decoder written in JavaScript.

string-length - Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

underscore.string - String manipulation helpers for javascript

indent-string - Indent each line in a string

escape-string-regexp - Escape RegExp special characters

camelcase - Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar

repeating - Repeat a string - fast

execall - Find multiple RegExp matches in a string

babelfish - human friendly i18n for javascript (node.js + browser)

splice-string - Remove or replace part of a string like Array#splice

matcher - Simple wildcard matching