# tobe **Repository Path**: mirrors_floatdrop/tobe ## Basic Information - **Project Name**: tobe - **Description**: Deferred assertion library - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tobe [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url] __Deprecated:__ Use [funsert](http://npmjs.com/funsert) for functional assertion. Deferred assertion library with should.js syntax. Sometimes it is handy to pass assertion function as callback, for example — in [stream-assert](https://github.com/floatdrop/stream-assert). ## Usage ```js var to = require('tobe'); var assert = to.be.instanceOf(Number); assert(10); // returns true assert('string'); // Throws Error ``` ## License MIT (c) 2014 Vsevolod Strukchinsky [npm-url]: https://npmjs.org/package/tobe [npm-image]: http://img.shields.io/npm/v/tobe.svg?style=flat [travis-url]: http://travis-ci.org/floatdrop/tobe [travis-image]: http://img.shields.io/travis/floatdrop/tobe.svg?branch=master&style=flat [depstat-url]: https://david-dm.org/floatdrop/tobe [depstat-image]: http://img.shields.io/david/floatdrop/tobe.svg?style=flat