{"id":17124212,"url":"https://github.com/kmpm/node-sl2format","last_synced_at":"2025-07-27T22:33:24.963Z","repository":{"id":57362708,"uuid":"44156367","full_name":"kmpm/node-sl2format","owner":"kmpm","description":null,"archived":false,"fork":false,"pushed_at":"2019-11-02T07:21:11.000Z","size":19988,"stargazers_count":10,"open_issues_count":2,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-03T20:00:02.933Z","etag":null,"topics":["json","lowrance","nodejs","sl2","sl3","slg","stream"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kmpm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-13T06:25:02.000Z","updated_at":"2024-01-13T13:30:52.000Z","dependencies_parsed_at":"2022-09-26T16:32:15.677Z","dependency_job_id":null,"html_url":"https://github.com/kmpm/node-sl2format","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kmpm/node-sl2format","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmpm%2Fnode-sl2format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmpm%2Fnode-sl2format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmpm%2Fnode-sl2format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmpm%2Fnode-sl2format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmpm","download_url":"https://codeload.github.com/kmpm/node-sl2format/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmpm%2Fnode-sl2format/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267436492,"owners_count":24086897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json","lowrance","nodejs","sl2","sl3","slg","stream"],"created_at":"2024-10-14T18:42:07.503Z","updated_at":"2025-07-27T22:33:24.927Z","avatar_url":"https://github.com/kmpm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"node-sl2\r\n========\r\nModule to read .sl2 files, generated by Lowrance chart plotters as a stream.\r\n\r\n[![Build Status](https://travis-ci.org/kmpm/node-sl2format.svg?branch=master)](https://travis-ci.org/kmpm/node-sl2format)\r\n\r\nFor any more information regarding HOW the information is encoded in the file I would from here on\r\nlike to redirect to the https://github.com/opensounder/sounder-log-formats repo.\r\n\r\n#I/O\r\nInput from for example file stream for an .sl2 file\r\nOutputs block objects looking something like this.\r\n```javascript\r\n{\r\n  frameIndex: 0,\r\n  blockSize: 3216,\r\n  packetSize: 3072,\r\n  lastBlockSize: 0,\r\n  channel: Primary,\r\n  time1: 3536977920,\r\n  waterDepth: 6.622000217437744,\r\n  temperature: 19.350006103515625,\r\n  frequency: 0,\r\n  keelDepth: 0,\r\n  upperLimit: 0,\r\n  lowerLimit: 19.600000381469727,\r\n  altitude: 118.89765930175781,\r\n  heading: 0,\r\n  courseOverGround: 3.7873644828796387,\r\n  waterSpeed: 0,\r\n  gpsSpeed: 2.585312843322754,\r\n  longitude: 1383678,\r\n  latitude: 8147302,\r\n  flags: {\r\n    trackValid: true,\r\n    waterSpeedValid: false,\r\n    positionValid: true,\r\n    waterTempValid: true,\r\n    gpsSpeedValid: true,\r\n    altitudeValid: true,\r\n    headingValid: false\r\n  }\r\n}\r\n```\r\n\r\n# File format\r\n* https://github.com/opensounder/sounder-log-formats/blob/master/lowrance/sl-format.md\r\n* http://wiki.openstreetmap.org/wiki/SL2\r\n\r\n#Licence\r\nMIT\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmpm%2Fnode-sl2format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmpm%2Fnode-sl2format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmpm%2Fnode-sl2format/lists"}