Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
keen-explorer
Advanced tools
npm install keen-explorer --save
import KeenExplorer from 'keen-explorer';
const myExplorer = new KeenExplorer('#keen-explorer-html-element')
.client({
projectId: 'PROJECT_ID',
readKey: 'READ_KEY',
masterKey: 'MASTER_KEY'
})
.persistence(true)
.fetch();
Check out the demo here. The Keen IO Explorer is an open source point-and-click interface for querying and visualizing your event data. It's maintained by the team at Keen IO.
Read on for instructions on how to use the Explorer on your website or in your web app and how to get set up to develop with the Explorer.
<!-- Dependencies -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<!-- Explorer Assets -->
<link rel="stylesheet" href="https://d26b395fwzu5fz.cloudfront.net/apps/keen-explorer-4.0.2.min.css">
<script src="https://d26b395fwzu5fz.cloudfront.net/apps/keen-explorer-4.0.2.bundle.min.js"></script>
You'd need to include all of the same assets as those listed in the CDN example above. You can download the Explorer source code to get the keen-explorer.js
and keen-explorer.css
files (as well as the minified versions). And you can choose to include jQuery and Bootstrap however you wish, from CDNs or using downloaded copies.
This is as easy as npm install keen-explorer
If you haven’t done so already, login to Keen IO to create a project for your app. You'll need a Keen IO account to create a project. The Project ID and API Keys are available on the Project Overview page. You will need these for the next steps.
Somewhere on the page that you want to show Explorer you'll need to configure a Keen.js client and pass that into the initialization of a new Explorer. Here's how you do it:
<div id="keen-explorer"></div>
<script>
const myExplorer = new KeenExplorer('#keen-explorer')
.client({
projectId: 'PROJECT_ID',
readKey: 'READ_KEY',
masterKey: 'MASTER_KEY'
})
.persistence(true)
.fetch();
</script>
And that's it. You're done!
git clone https://github.com/keen/explorer.git
npm install
.npm run start
.http://localhost:8080/
or your specified port.The project is built with Webpack.
npm run build
from the root directory of the project to build ALL files, including the minified versions for production use.Run Unit Tests
npm run test
to run all the tests. Currently there are only unit tests.Is this open source Keen Explorer different than the one on keen.io? Nope! We have recently moved all our development on the Keen Explorer to this open source version.
I have questions about using the project! Where/who do I ask? If you have any questions about using this project, Explorer feel free to contact us anytime at team@keen.io.
To contribute to this project:
## What does this PR do? How does it affect users?
## How should this be tested?
Step through the code line by line. Things to keep in mind as you review:
- Are there any edge cases not covered by this code?
- Does this code follow conventions (naming, formatting, modularization, etc) where applicable?
Fetch the branch and/or deploy to staging to test the following:
- [ ] Does the code compile without warnings (check shell, console)?
- [ ] Do all tests pass?
- [ ] Does the UI, pixel by pixel, look exactly as expected (check various screen sizes, including mobile)?
- [ ] If the feature makes requests from the browser, inspect them in the Web Inspector. Do they look as expected (parameters, headers, etc)?
- [ ] If the feature sends data to Keen, is the data visible in the project if you run an extraction (include link to collection/query)?
- [ ] If the feature saves data to a database, can you confirm the data is indeed created in the database?
## Related tickets?
Screenshots encouraged! Would an animated GIF be more informative than a screenshot? Then we recommend Recordit.
These are the major technologies used in the project.
FAQs
Data Explorer by Keen IO
The npm package keen-explorer receives a total of 7 weekly downloads. As such, keen-explorer popularity was classified as not popular.
We found that keen-explorer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.