Interactive Angular 19 demo for @sda/notification-elements-ui with 6 sections: Bell & Feed, Notification Center, Inbox, Comments & Threads, Mention Input, and Full-Featured layout. Includes mock data, dark mode toggle, and real-time event log. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
23 lines
524 B
JavaScript
23 lines
524 B
JavaScript
var fs = require('fs'),
|
|
stream = require('stream'),
|
|
needle = require('./../');
|
|
|
|
var url = 'http://ibl.gamechaser.net/f/tagqfxtteucbuldhezkz/bt_level1.gz';
|
|
|
|
var resp = needle.get(url, { compressed: true, follow_max: 10 });
|
|
console.log('Downloading...');
|
|
|
|
resp.on('readable', function() {
|
|
|
|
while (data = this.read()) {
|
|
var lines = data.toString().split('\n');
|
|
console.log('Got ' + lines.length + ' items.');
|
|
// console.log(lines);
|
|
}
|
|
|
|
})
|
|
|
|
resp.on('done', function(data) {
|
|
console.log('Done');
|
|
})
|