Code Monkey home page Code Monkey logo

signal-arr's Introduction

signal-arr

awesome NPM version Build Status Code Coverage Dependency Status Dependency Status Chat

signal-arr

A modern replacement for the built-in SignalR Javascript Client library. Built with ES6+, WebPack, Babel, Mocha, and Chai

Features

    ✓ Next generation JavaScript via Babel
    ✓ Available on NPM

WARNING: This is pre-release software. There aren't really any docs yet, and testing is incomplete. Feel free to submit a pull request if you find something that is broken.

Getting Started

npm install signal-arr --save

signal-arr's People

Contributors

austinsc avatar brandonalanskas avatar greenkeeperio-bot avatar qisoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

signal-arr's Issues

npm package is not usable

install npm package

 > npm install Module not found

in your code

import {
    HubClient
} from 'signal-arr';


const client = new HubClient({
        url: "https://localhost:44391/signalr"
    });

webpack during build

ERROR in ./~/signal-arr/index.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./PromiseMaker in c:\Code\test\node_modules\signal-arr
 @ ./~/signal-arr/index.js 22:20-45 818:20-45

ERROR in ./~/signal-arr/index.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./EventEmitter in c:\Code\test\node_modules\signal-arr
 @ ./~/signal-arr/index.js 26:21-46 974:21-46

ERROR in ./~/signal-arr/index.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./ConnectingMessageBuffer in c:\Code\test\node_modules\signal-arr
 @ ./~/signal-arr/index.js 30:31-67

guys you really need valid working example of usage for this package. Even thought idea is great it won't fly if it does not work

Provide transpilled version in dist dir

It would be nice if you will have already transpilled via babel version of lib. Now your code is not working with latest Babel (6.1.21) and I can't use it. Someone doesn't use es6 in their project, so they need to install Babel only for transpilling signal-arr. So es5 version would be a great solution to them.

Documentation

Fill in important info in the /docs directory. It can be published with the git subtree command e.g.

git subtree push --prefix docs origin gh-pages

HubConnection Class

Subclass the Connection and implement special hub functionality. This needs to be generic so that different 'adapters' can be used.

Ongoing Code Cleanup

Ensure single responsibility, memory cleanup, consistent error handling, documentation, code style, and other developer concerns are present.

Sample

Hi,

do you have any sample, would help me to understand the API.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.