github.com/gopherjs/gopherjs@v1.19.0-beta1.0.20240506212314-27071a8796e4/doc/packages.md (about)

     1  # Supported Packages
     2  
     3  On each commit, Circle CI automatically compiles all supported packages with GopherJS and runs their tests:
     4  
     5  [![Circle CI](https://circleci.com/gh/gopherjs/gopherjs.svg?style=svg)](https://circleci.com/gh/gopherjs/gopherjs)
     6  
     7  | Name                | Supported    | Comment                                                                           |
     8  | ------------------- | ------------ | --------------------------------------------------------------------------------- |
     9  | archive             |              |
    10  | -- tar              | ✅ yes       |
    11  | -- zip              | ✅ yes       |
    12  | bufio               | ✅ yes       |
    13  | builtin             | ✅ yes       |
    14  | bytes               | ✅ yes       |
    15  | compress            |              |
    16  | -- bzip2            | ✅ yes       |
    17  | -- flate            | ✅ yes       |
    18  | -- gzip             | ✅ yes       |
    19  | -- lzw              | ✅ yes       |
    20  | -- zlib             | ✅ yes       |
    21  | container           |              |
    22  | -- heap             | ✅ yes       |
    23  | -- list             | ✅ yes       |
    24  | -- ring             | ✅ yes       |
    25  | context             | ✅ yes       |
    26  | crypto              | ✅ yes       |
    27  | -- aes              | ✅ yes       |
    28  | -- cipher           | ✅ yes       |
    29  | -- des              | ✅ yes       |
    30  | -- dsa              | ✅ yes       |
    31  | -- ecdsa            | ✅ yes       |
    32  | -- ed25519          | ✅ yes       |
    33  | -- elliptic         | ✅ yes       |
    34  | -- hmac             | ✅ yes       |
    35  | -- md5              | ✅ yes       |
    36  | -- rand             | ✅ yes       |
    37  | -- rc4              | ✅ yes       |
    38  | -- rsa              | ✅ yes       |
    39  | -- sha1             | ✅ yes       |
    40  | -- sha256           | ✅ yes       |
    41  | -- sha512           | ✅ yes       |
    42  | -- subtle           | ✅ yes       |
    43  | -- tls              | ❌ no        |
    44  | -- x509             | ✅ yes       |
    45  | -- -- pkix          | ✅ yes       |
    46  | database            |              |
    47  | -- sql              | ✅ yes       |
    48  | -- -- driver        | ✅ yes       |
    49  | debug               |              |
    50  | -- dwarf            | ✅ yes       |
    51  | -- elf              | ✅ yes       |
    52  | -- gosym            | ☑️ partially | on binaries generated by gc                                                       |
    53  | -- macho            | ✅ yes       |
    54  | -- pe               | ✅ yes       |
    55  | -- plan9obj         | ✅ yes       |
    56  | embed               | ❌ no        | Not implemented yet: https://github.com/gopherjs/gopherjs/issues/997.             |
    57  | encoding            |              |
    58  | -- ascii85          | ✅ yes       |
    59  | -- asn1             | ✅ yes       |
    60  | -- base32           | ✅ yes       |
    61  | -- base64           | ✅ yes       |
    62  | -- binary           | ✅ yes       |
    63  | -- csv              | ✅ yes       |
    64  | -- gob              | ✅ yes       |
    65  | -- hex              | ✅ yes       |
    66  | -- json             | ✅ yes       |
    67  | -- pem              | ✅ yes       |
    68  | -- xml              | ✅ yes       |
    69  | errors              | ✅ yes       |
    70  | expvar              | ✅ yes       |
    71  | flag                | ✅ yes       |
    72  | fmt                 | ✅ yes       |
    73  | go                  |              |
    74  | -- ast              | ✅ yes       |
    75  | -- build            | ❌ no        |
    76  | -- build/constraint | ✅ yes       |
    77  | -- constant         | ✅ yes       |
    78  | -- doc              | ✅ yes       |
    79  | -- format           | ✅ yes       |
    80  | -- importer         | ❌ no        |
    81  | -- parser           | ✅ yes       |
    82  | -- printer          | ✅ yes       |
    83  | -- scanner          | ✅ yes       |
    84  | -- token            | ✅ yes       |
    85  | -- types            | ❌ no        |
    86  | hash                | ✅ yes       |
    87  | -- adler32          | ✅ yes       |
    88  | -- crc32            | ✅ yes       |
    89  | -- crc64            | ✅ yes       |
    90  | -- fnv              | ✅ yes       |
    91  | -- maphash          | ✅ yes       |
    92  | html                | ✅ yes       |
    93  | -- template         | ✅ yes       |
    94  | image               | ✅ yes       |
    95  | -- color            | ✅ yes       |
    96  | -- -- palette       | ✅ yes       |
    97  | -- draw             | ✅ yes       |
    98  | -- gif              | ✅ yes       |
    99  | -- jpeg             | ✅ yes       |
   100  | -- png              | ✅ yes       |
   101  | index               |              |
   102  | -- suffixarray      | ✅ yes       |
   103  | io                  | ✅ yes       |
   104  | -- fs               | ✅ yes       |
   105  | -- ioutil           | ✅ yes       |
   106  | log                 | ✅ yes       |
   107  | -- syslog           | ❌ no        |
   108  | math                | ✅ yes       |
   109  | -- big              | ✅ yes       |
   110  | -- bits             | ✅ yes       |
   111  | -- cmplx            | ✅ yes       |
   112  | -- rand             | ✅ yes       |
   113  | mime                | ✅ yes       |
   114  | -- multipart        | ✅ yes       |
   115  | -- quotedprintable  | ✅ yes       |
   116  | net                 | ☑️ partially | network is simulated, supports only localhost connections                         |
   117  | -- http             | ☑️ partially | client only, emulated via Fetch/XMLHttpRequest APIs;<br>node.js requires polyfill |
   118  | -- -- cgi           | ❌ no        |
   119  | -- -- cookiejar     | ✅ yes       |
   120  | -- -- fcgi          | ✅ yes       |
   121  | -- -- httptest      | ☑️ partially |
   122  | -- -- httputil      | ☑️ partially |
   123  | -- -- pprof         | ❌ no        |
   124  | -- mail             | ✅ yes       |
   125  | -- rpc              | ☑️ partially | data structures only (no net)                                                     |
   126  | -- -- jsonrpc       | ✅ yes       |
   127  | -- smtp             | ☑️ partially | data structures only (no net)                                                     |
   128  | -- textproto        | ✅ yes       |
   129  | -- url              | ✅ yes       |
   130  | os                  | ☑️ partially | node.js only                                                                      |
   131  | -- exec             | ☑️ partially | node.js only                                                                      |
   132  | -- signal           | ☑️ partially | node.js only                                                                      |
   133  | -- user             | ☑️ partially | node.js only                                                                      |
   134  | path                | ✅ yes       |
   135  | -- filepath         | ✅ yes       |
   136  | plugin              | ❌ no        |
   137  | reflect             | ✅ yes       |
   138  | regexp              | ✅ yes       |
   139  | -- syntax           | ✅ yes       |
   140  | runtime             | ☑️ partially | SetMutexProfileFraction, SetFinalizer, ReadMemStats unsupported                   |
   141  | -- metrics          | ☑️ partially | Same as runtime.                                                                  |
   142  | -- cgo              | ❌ no        |
   143  | -- debug            | ❌ no        |
   144  | -- pprof            | ❌ no        |
   145  | -- race             | ❌ no        |
   146  | -- trace            | ❌ no        |
   147  | sort                | ✅ yes       |
   148  | strconv             | ✅ yes       |
   149  | strings             | ✅ yes       |
   150  | sync                | ✅ yes       |
   151  | -- atomic           | ✅ yes       |
   152  | syscall             | ☑️ partially | node.js only                                                                      |
   153  | testing             | ☑️ partially | AllocsPerRun and T.Helper are unsupported.                                        |
   154  | -- iotest           | ✅ yes       |
   155  | -- fstest           | ✅ yes       |
   156  | -- quick            | ✅ yes       |
   157  | text                |              |
   158  | -- scanner          | ✅ yes       |
   159  | -- tabwriter        | ✅ yes       |
   160  | -- template         | ✅ yes       |
   161  | -- -- parse         | ✅ yes       |
   162  | time                | ✅ yes       | UTC and Local only (see [issue](https://github.com/gopherjs/gopherjs/issues/64))  |
   163  | -- tzdata           | ✅ yes       |
   164  | unicode             | ✅ yes       |
   165  | -- utf16            | ✅ yes       |
   166  | -- utf8             | ✅ yes       |
   167  | unsafe              | ❌ no        |