Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
cd027c5
replaced deprecated Nan and node functions to fix compilation in node 12
suldashi Dec 24, 2019
c1f2cdf
1.2.5
suldashi Dec 24, 2019
4f04975
chore(flat): @flat namespace
gierschv Jan 15, 2020
0525f38
chore: add github actions
gierschv Sep 9, 2022
934f30e
chore(deps): update bindings, nan, debug
gierschv Sep 9, 2022
c00a98b
Merge pull request #1 from FlatIO/chore/gh-actions
gierschv Sep 9, 2022
8748051
fix: replace pointer wrapping buffer length from 0 to 1 to fix node 1…
corentingurtner Sep 9, 2022
e6783ce
Merge pull request #2 from FlatIO/fix.wrap-buffer-length
gierschv Sep 9, 2022
2f9a094
chore: remove old travis badge
gierschv Sep 9, 2022
acba528
chore: add changelog for 1.2.5 & 1.2.6
gierschv Sep 9, 2022
288bcf9
build(deps): bump ansi-regex from 3.0.0 to 3.0.1
dependabot[bot] Sep 9, 2022
d3d008d
build(deps): bump y18n from 4.0.0 to 4.0.3
dependabot[bot] Sep 9, 2022
c1d09e6
build(deps): bump lodash from 4.17.15 to 4.17.21
dependabot[bot] Sep 9, 2022
9f1c67f
chore: add dependabot
gierschv Sep 9, 2022
83d3a3b
Merge pull request #3 from FlatIO/dependabot/npm_and_yarn/ansi-regex-…
gierschv Sep 9, 2022
f79aed4
Merge pull request #4 from FlatIO/dependabot/npm_and_yarn/y18n-4.0.3
gierschv Sep 9, 2022
f3715d3
Merge pull request #5 from FlatIO/dependabot/npm_and_yarn/lodash-4.17.21
gierschv Sep 9, 2022
f5b2a1d
build(deps-dev): bump @types/node from 10.11.4 to 18.7.16
dependabot[bot] Sep 9, 2022
ab793e7
Merge pull request #8 from FlatIO/dependabot/npm_and_yarn/types/node-…
gierschv Sep 9, 2022
524299e
build(deps-dev): bump mocha from 6.2.2 to 10.0.0
dependabot[bot] Sep 9, 2022
ff6643b
Merge pull request #7 from FlatIO/dependabot/npm_and_yarn/mocha-10.0.0
gierschv Sep 9, 2022
217f852
feat: upgrade mpg123 library to add arm64 support (#31)
corentingurtner Sep 16, 2023
e7d64e6
build(deps-dev): bump @types/node from 18.7.16 to 18.14.6 (#30)
dependabot[bot] Sep 16, 2023
edb2f99
build(deps): bump nan from 2.16.0 to 2.17.0 (#16)
dependabot[bot] Sep 16, 2023
5292655
build(deps-dev): bump mocha from 10.0.0 to 10.2.0
dependabot[bot] Dec 12, 2022
3edf1d1
bump v1.2.7
Sep 16, 2023
7ab7424
Updates module name in Types
JSimoni42 Jun 4, 2024
d34969b
chore(ci): run on node 20 & 22
gierschv Jun 6, 2024
f1708f1
fix: update all deps
gierschv Jun 6, 2024
71cf17e
chore: update package name in README
gierschv Jun 6, 2024
34db0cb
chore: bump npm version
gierschv Jun 6, 2024
504a20a
chore: add .npmignore
gierschv Jun 6, 2024
129795a
chore: add changelog
gierschv Jun 6, 2024
fef2a7e
chore: bump nan to ^2.28.0 for Node.js 24 support
Jul 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
24 changes: 24 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 20.x
- 22.x
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install -d
- run: npm test
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
test
examples
build
.github
33 changes: 0 additions & 33 deletions .travis.yml

This file was deleted.

22 changes: 22 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
1.2.8 / 2024-06-06
==================

* Fixed types (@JSimoni42)
* Update CI testing to use Node 20.x and 22.x
* Update minor/patch dependencies

1.2.7 / 2023-09-16
==================

* Added support for Mac arm64 environments

1.2.6 / 2022-09-09
==================

* Fixed support for Node >= 18.8.0 (@corentingurtner - see nodejs/node#44554)

1.2.5 / 2019-12-24
==================

* Fixed support for Node >= 12 (@suldashi)

1.2.4 / 2016-06-27
==================

Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
node-lame
=========
### NodeJS native bindings to libmp3lame & libmpg123
[![Build Status](https://travis-ci.org/TooTallNate/node-lame.svg?branch=master)](https://travis-ci.org/TooTallNate/node-lame)

For all your async streaming MP3 encoding/decoding needs, there's `node-lame`!
This module hooks into libmp3lame, the library that the `lame` command uses, to
Expand All @@ -17,18 +16,18 @@ there's no need to have them installed on your system.
Simply compile and install `node-lame` using `npm`:

``` bash
$ npm install lame
$ npm install @flat/lame
```


Example
-------

Here's an example of using `node-lame` to encode some raw PCM data coming from
Here's an example of using `@flat/node-lame` to encode some raw PCM data coming from
`process.stdin` to an MP3 file that gets piped to `process.stdout`:

``` javascript
var lame = require('lame');
var lame = require('@flat/lame');

// create the Encoder instance
var encoder = new lame.Encoder({
Expand Down Expand Up @@ -66,4 +65,4 @@ the MP3 file is determined (usually right at the beginning).
The `Encoder` class is a `Stream` subclass that accepts raw PCM data written to
it, and outputs a valid MP3 file. You must specify the PCM data format when
creating the encoder instance. Only 16-bit signed samples are currently
supported (rescale before passing to the encoder if necessary)...
supported (rescale before passing to the encoder if necessary)...
Loading