Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "blo", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"license": "MIT", | ||
@@ -20,3 +20,3 @@ "author": "Pierre Bertet <hi@bpier.re>", | ||
"module": "./dist/index.js", | ||
"main": "./dist/index.cjs", | ||
"main": "./dist/index.cjs.js", | ||
"types": "./dist/index.d.ts", | ||
@@ -26,3 +26,3 @@ "exports": { | ||
"types": "./dist/index.d.ts", | ||
"require": "./dist/index.cjs", | ||
"require": "./dist/index.cjs.js", | ||
"default": "./dist/index.js" | ||
@@ -29,0 +29,0 @@ } |
@@ -145,6 +145,16 @@ <div align="center"> | ||
### Why is it named blo? | ||
### Does it follow the exact same algorithm as Etherscan, MetaMask and others? | ||
blo is short for blockies, which is the name of [the original library](https://github.com/ethereum/blockies) it is based on. | ||
Yes. | ||
### Does it work with ENS names? | ||
No it only works with Ethereum addresses, but you can resolve the ENS name to an address (e.g. with [wagmi](https://wagmi.sh/core/actions/fetchEnsAddress)) and pass the result to blo. | ||
### Can blo render other formats than SVG? | ||
You can render to any format you want by using the `bloImage()` function, which returns a data structure (see [API](#api) above). Check out the [Bun](./demos/bun) and [Node](./demos/node) demos for examples of rendering an identicon in the terminal. | ||
<img width="400" src="https://github.com/bpierre/blo/assets/36158/a7c86d01-f003-49d7-8f9e-93097b502872" alt="Ethereum identicon rendered in the terminal"> | ||
### Can it be used to generate other types of identicons? | ||
@@ -154,4 +164,8 @@ | ||
### Why is it named blo? | ||
blo is short for blockies, which is the name of [the original library](https://github.com/ethereum/blockies) it is based on. | ||
## License | ||
[MIT](./LICENSE) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28944
170