🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

expected

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expected

Simple error message formatting.

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
7
250%
Maintainers
1
Weekly downloads
 
Created
Source

expected NPM version

Simple error message formatting.

This is a first pass. I'll probably make this more dynamic after I get a feel for how it needs to work. Any suggestions or contributions would be great!

Some ideas:

  • add an inflection lib
  • build up the messages based on the methods used, e.g. if an is used, then add an to the message, and so on

Install

Install with npm

$ npm i expected --save

Usage

var expected = require('expected');

API

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.

This file was generated by verb-cli on October 06, 2015.

Keywords

console

FAQs

Package last updated on 06 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts