Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
keen-explorer
Advanced tools
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.
Check out the demo here.. 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.
You have three options for including the necessary Explorer files:
<!-- Include Bootstrap from CDN. We use bootstrap as our CSS framework for Explorer -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- Include Explorer CSS from CDN -->
<link rel="stylesheet" href="https://d26b395fwzu5fz.cloudfront.net/apps/keen-explorer-2.0.0.min.css">
<!-- Include jQuery from Google. We use jQuery for a few of our UI components, like calendar pickers. -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<!-- Include keen.js from CDN. This is our Javascript SDK that powers querying and visualizations in Explorer. -->
<script src="https://d26b395fwzu5fz.cloudfront.net/3.2.7/keen.min.js" type="text/javascript"></script>
<!-- Include keen-explorer.js from CDN. -->
<script src="https://d26b395fwzu5fz.cloudfront.net/apps/keen-explorer-2.0.0.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="explorer"></div>
<script type="text/javascript">
// Configure a new Keen.js client with your project ID, read key and master key.
var client = new Keen({
projectId: "YOUR_PROJECT_ID",
readKey: "YOUR_PROJECT_READ_KEY",
masterKey: "YOUR_PROJECT_MASTER_KEY"
});
var app = new Keen.Explorer.App({
// Pass that client into a new Explorer
client: client,
// Optionally add in saved queries support:
// Saved queries is entirely optional. If you set it to true, a "saved queries" feature
// will be available and you can save the state of the query you're working
// on so that they can be looked up at a later time.
savedQueries: true,
// The targetId is the id of the DOM Node you want to display Explorer inside.
targetId: 'explorer'
});
app.render();
</script>
And that's it. You're done!
git clone
this repository or Download the source codecp demo/example_index.html demo/index.html
or mv demo/example_index.html demo/index.html
npm install
.npm run dev
or export PORT=8082; npm run dev
.http://localhost:8081/explorer
or your specified port.The project is built with Gulp.js.
gulp
from the root directory of the projecthttp://localhost:8081/explorer
.Run Unit Tests
gulp test:unit
to run the unit tests.Run In Browser Mocha Unit Tests This isn't normally requried, but if you need to, you can run the tests in the browser.
8082
http://localhost:8082/test/unit/
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's this PR do?
# Where should the reviewer start?
# How should this be manually tested?
# Screenshots (if appropriate)
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 5 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.