STILL A WORK IN PROGRESS!
If you have any contributions please create pull requests. This should be good enough to read and init data. But still needs a lot more tweaking.
Welcome to lsm9ds1-sensor, a Node.js I2C module for the STMicroelectronics LSM9DS1 Gyro, Accelerometer and Magnometer + Temperature sensor. Adafruit sells a LSM9DS1 breakout board and here is the datasheet.
This module uses i2c-bus which should provide access with Node.js on Linux boards like the Raspberry Pi Zero, 1, 2, or 3, BeagleBone, BeagleBone Black, or Intel Edison.
Note: While the LSM9DS1 device does report temperature, it is measured by the internal temperature sensor. This temperature value depends on the PCB temperature and sensor element self-heating. Therefore ambient temperature is typically reported above actual ambient temperature.
Since lsm9ds1-sensor needs to talk directly to the I2C bus and requires access to /dev/i2c, you will typically need run Node with elevated privileges or add your user account to the i2c group:
$ sudo adduser $USER i2c
> sudo node example.js Coming
Adafruit have a very good example on how to wire this one up. Look at their learning page.