
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@sqlrooms/kepler
Advanced tools
Kepler.gl integration for SQLRooms.
Use this package when you want a map-first analytics experience in a SQLRooms app, backed by DuckDB tables and SQL.
createKeplerSlice() to add Kepler state/actions to your Room storeKeplerMapContainer and KeplerPlotContainer for rendering maps/overlaysKeplerSidePanels for layer/filter/interaction UInpm install @sqlrooms/kepler @sqlrooms/room-shell @sqlrooms/duckdb @sqlrooms/ui
import {useEffect} from 'react';
import {
createKeplerSlice,
KeplerMapContainer,
KeplerSliceState,
} from '@sqlrooms/kepler';
import {
createRoomShellSlice,
createRoomStore,
RoomShell,
RoomShellSliceState,
} from '@sqlrooms/room-shell';
type RoomState = RoomShellSliceState & KeplerSliceState;
export const {roomStore, useRoomStore} = createRoomStore<RoomState>(
(set, get, store) => ({
...createRoomShellSlice({
config: {
dataSources: [
{
type: 'url',
tableName: 'earthquakes',
url: 'https://huggingface.co/datasets/sqlrooms/earthquakes/resolve/main/earthquakes.parquet',
},
],
},
})(set, get, store),
...createKeplerSlice()(set, get, store),
}),
);
function MapPanel() {
const mapId = useRoomStore((state) => state.kepler.config.currentMapId);
const addTableToMap = useRoomStore((state) => state.kepler.addTableToMap);
const isTableReady = useRoomStore((state) =>
Boolean(state.db.findTableByName('earthquakes')),
);
useEffect(() => {
if (!isTableReady || !mapId) return;
void addTableToMap(mapId, 'earthquakes', {
autoCreateLayers: true,
centerMap: true,
});
}, [isTableReady, mapId, addTableToMap]);
if (!mapId) return null;
return <KeplerMapContainer mapId={mapId} />;
}
export function App() {
return (
<RoomShell roomStore={roomStore} className="h-screen">
<MapPanel />
</RoomShell>
);
}
Pass options to createKeplerSlice():
createKeplerSlice({
basicKeplerProps: {
mapboxApiAccessToken: import.meta.env.VITE_MAPBOX_TOKEN,
},
actionLogging: false,
});
@sqlrooms/kepler-config for Zod schemas used by persisted Kepler config@sqlrooms/room-shell for Room store composition and UI shell@sqlrooms/duckdb for DuckDB-backed table loading/queryingFAQs
Kepler.gl integration for SQLRooms.
We found that @sqlrooms/kepler demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.