
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Miew is a high performance web tool for advanced visualization and manipulation of molecular structures.
The miew
package is the core JavaScript library that implements the functionality.
Please refer to the topmost README for an overview of the entire project.
Miew library is available as an npm package. It provides both UMD and ES2015 modules, so can be included in a SCRIPT tag via a CDN or built with a bundler of your choice. For more details refer to:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<script src="https://unpkg.com/lodash@^4.17.21/lodash.js"></script>
<script src="https://unpkg.com/three@0.153.0/build/three.min.js"></script>
<script src="https://unpkg.com/miew@0.11.0/dist/Miew.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/miew@0.11.0/dist/Miew.min.css" />
</head>
<body>
<div class="miew-container" style="width:640px; height:480px"></div>
<script>
(function () {
var viewer = new Miew({ load: '1CRN' });
if (viewer.init()) {
viewer.run();
}
})();
</script>
</body>
</html>
Install using npm:
# npm init
# npm i -D webpack webpack-cli style-loader css-loader
npm i miew
src/index.js
import Miew from 'miew';
import './index.css';
window.onload = function () {
var viewer = new Miew({ load: '1CRN' });
if (viewer.init()) {
viewer.run();
}
};
src/index.css
@import 'miew';
dist/index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<script src="main.js"></script>
</head>
<body>
<div class="miew-container" style="width:640px; height:480px"></div>
</body>
</html>
webpack.config.js
module.exports = {
module: {
rules: [{
test: /\.css$/,
use: ['style-loader', 'css-loader'],
}],
},
};
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
Copyright (c) 2015–2024 EPAM Systems, Inc.
FAQs
Miew - 3D Molecular Viewer
The npm package miew receives a total of 5,490 weekly downloads. As such, miew popularity was classified as popular.
We found that miew demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.