en-inflectors
Advanced tools
Comparing version 1.0.8 to 1.0.9
import * as verbsList from "./verb/solve_lookup"; | ||
import nonCountables from "./noun/list_uncountable"; | ||
declare class Inflectors { | ||
export declare class Inflectors { | ||
word: string; | ||
@@ -22,2 +22,2 @@ constructor(word: string); | ||
declare const infinitives: verbsList.conjugationObject; | ||
export { Inflectors, infinitives, nonCountables }; | ||
export { Inflectors as Inflector, infinitives, nonCountables }; |
@@ -5,3 +5,3 @@ "use strict"; | ||
var noun = require("./noun/transform"); | ||
var noundDetection = require("./noun/detect_singular_plural"); | ||
var nounDetection = require("./noun/detect_singular_plural"); | ||
var countableDetection = require("./noun/detect_countable"); | ||
@@ -24,4 +24,4 @@ var verbsList = require("./verb/solve_lookup"); | ||
this.toSingular = function () { return noun.toSingular(_this.word); }; | ||
this.isSingular = function () { return noundDetection.isSingular(_this.word); }; | ||
this.isPlural = function () { return noundDetection.isPlural(_this.word); }; | ||
this.isSingular = function () { return nounDetection.isSingular(_this.word); }; | ||
this.isPlural = function () { return nounDetection.isPlural(_this.word); }; | ||
this.isCountable = function () { return countableDetection.isCountable(_this.word); }; | ||
@@ -34,3 +34,4 @@ this.isNotCountable = function () { return countableDetection.isNotCountable(_this.word); }; | ||
exports.Inflectors = Inflectors; | ||
exports.Inflector = Inflectors; | ||
var infinitives = verbsList.VBP; | ||
exports.infinitives = infinitives; |
{ | ||
"name": "en-inflectors", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "", | ||
@@ -10,6 +10,11 @@ "main": "./dist/index.js", | ||
}, | ||
"devDependencies": {}, | ||
"devDependencies": { | ||
"@types/mocha": "^2.2.39", | ||
"@types/node": "^7.0.5", | ||
"ts-node": "^2.1.0" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "tsc" | ||
"test": "mocha", | ||
"build": "tsc", | ||
"prepublish":"mocha && tsc" | ||
}, | ||
@@ -16,0 +21,0 @@ "repository": { |
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
408879
7085
0
3