PHPackages                             medz/qq-emoicon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. medz/qq-emoicon

AbandonedArchivedMetapackage[Utility &amp; Helpers](/categories/utility)

medz/qq-emoicon
===============

QQ表情

1065PHP

Since Aug 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/medz/dart2esm)[ Packagist](https://packagist.org/packages/medz/qq-emoicon)[ RSS](/packages/medz-qq-emoicon/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

dart2esm
========

[](#dart2esm)

`dart2esm` is a Dart-to-native-ESM compiler.

The compiler uses Dart's Common Front End and Kernel IR as the frontend, then emits clean ECMAScript modules. JavaScript and Node primitives are used directly where they are semantically equivalent, with small Dart semantic helpers emitted only when required.

The 0.1.0 goal is complete Dart syntax and Dart SDK lowering to native ESM, except for `dart:io`. ESM version targeting is intentionally not split into compatibility profiles yet.

Usage
-----

[](#usage)

```
dart2esm bin/main.dart -o dist/main.mjs
```

By default the generated module invokes `main()` at top level. Use `--no-run-main` when the output should be imported as a module without executing the Dart entrypoint:

```
dart2esm lib/example.dart -o dist/example.mjs --no-run-main
```

Pass compile-time environment declarations with `-Dkey=value` or `--define=key=value`; multiple values can be repeated or comma-separated.

Use `--metrics` to print raw/gzip size, line count, and emitted helper count for the generated ESM module. Add `--compare-dart2js` to also compile the same Dart source with `dart compile js -O2` and print dart2esm/dart2js size ratios:

```
dart2esm lib/example.dart -o dist/example.mjs --metrics --compare-dart2js
```

You can also compile an existing Kernel component:

```
dart2esm build/input.dill -o dist/input.mjs
```

Architecture
------------

[](#architecture)

1. Dart source is lowered to Kernel with `dart compile kernel --no-link-platform`, falling back to the SDK `frontend_server` with the DDC platform for JS/web-only SDK libraries.
2. Kernel bytes are read with `package:kernel`.
3. The backend walks the entry component and emits native `.mjs`.
4. Public entry-library declarations are exported as ESM bindings. Imported local Dart libraries are bundled into the same output module and only re-exported when the Dart entry library exports them.

Unsupported Libraries
---------------------

[](#unsupported-libraries)

`dart:io` APIs are not supported in 0.1.0.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5564821?v=4)[Seven Du](/maintainers/medz)[@medz](https://github.com/medz)

### Embed Badge

![Health badge](/badges/medz-qq-emoicon/health.svg)

```
[![Health](https://phpackages.com/badges/medz-qq-emoicon/health.svg)](https://phpackages.com/packages/medz-qq-emoicon)
```

###  Alternatives

[hekmatinasser/notowo

This Package helps developers change number to word for all language on Laravel freamwork PHP

32521.3k2](/packages/hekmatinasser-notowo)[sulu/comment-bundle

Sulu Bundle for adding comments on entities

1039.7k](/packages/sulu-comment-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
