<commit_before>package js.browser;

import js.npm.socketio.Listener;
//import js.npm.socketio.Manager;
//import js.npm.socketio.Socket;
//import js.npm.socketio.Namespace;

import js.node.events.EventEmitter.Event;
import haxe.Constraints.Function;

@:native("io")
extern
class SocketIo {

  @:selfCall public static function io(?url : String, ?opts : ManagerOpts) : Socket;

  public static function connect(?url : String, ?opts : ManagerOpts) : Socket;
  public static var version : String;
  public static var protocol : Int;
  public static var transports : Array<Dynamic>;
<commit_msg>add some source to it<commit_after>package js.browser;

import js.npm.socketio.Listener;
//import js.npm.socketio.Manager;
//import js.npm.socketio.Socket;
//import js.npm.socketio.Namespace;

import js.node.events.EventEmitter.Event;
import haxe.Constraints.Function;


/**
 * Source: https://github.com/socketio/socket.io-client
 */
@:native("io")
extern
class SocketIo {

  @:selfCall public static function io(?url : String, ?opts : ManagerOpts) : Socket;

  public static function connect(?url : String, ?opts : ManagerOpts) : Socket;
  public static var version : String;
  public static var protocol : Int;
  public static var transports : Array<Dynamic>;

{'fraction_non_alphanumeric': 0.12370311252992817, 'fraction_numerical': 0.0, 'mean_word_length': 4.648648648648648, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4588511', 'n_tokens_mistral': 402, 'n_tokens_neox': 386, 'n_words': 106}