![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@mdemri/enigma-js
Advanced tools
A universal Javascript client library for the Enigma Network
ES6 source files
|
|
webpack
|
+--- babel, eslint
|
ready to use
library
in umd format
Have in mind that you have to build the library before publishing. The files under the lib
folder are the ones that should be distributed.
Install the following packages globally:
yarn global add ganache-cli truffle
Install the package dependencies
yarn install
to install the project dependencies.Install the client library dependencies
yarn install
to get the client library dependencies on the current folder[OPTIONAL] Development mode
yarn dev
. This command will generate an non-minified version of the library and will run a watcher so you get the compilation on file change.Running the tests
enigma-contract
run the following:$ ganache-cli -p 9545 -i 4447 &
$ truffle migrate --reset
yarn test
Build the library
yarn build
to produce minified version of the library. It will check code quality before building (ESLint) and it will also run all tests afterwards (see prior step) and output a code coverage report.yarn build
- produces production version of the library under the lib
folderyarn dev
- produces development version of the library and runs a watcheryarn test
- well ... it runs the tests :)yarn test:watch
- same as above but in a watch modeFAQs
The Javascript client for the Enigma Network
The npm package @mdemri/enigma-js receives a total of 0 weekly downloads. As such, @mdemri/enigma-js popularity was classified as not popular.
We found that @mdemri/enigma-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.