Gathering detailed insights and metrics for i
Gathering detailed insights and metrics for i
Gathering detailed insights and metrics for i
Gathering detailed insights and metrics for i
q-i
Node.js objects inspector with color highlighting
websocket-driver
WebSocket protocol handler with pluggable I/O
eslint-plugin-i
A fork of `eslint-plugin-import` using `get-tsconfig` to replace `tsconfig-paths` and heavy `typescript` under the hood.
vue-tsc
Install: `npm i vue-tsc -D`
npm install i
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
227 Stars
82 Commits
19 Forks
5 Watchers
1 Branches
7 Contributors
Updated on Dec 14, 2024
Latest Version
0.3.7
Package Id
i@0.3.7
Unpacked Size
54.83 kB
Size
12.78 kB
File Count
16
NPM Version
7.21.0
Node Version
12.22.6
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
customizable inflections for nodejs
NOTE: 0.3.2 was accidentally unpublished from the server and npm doesn't allow me to publish it back. Please upgrade to 0.3.3
1npm install i
Require the module before using
1var inflect = require('i')();
All the below api functions can be called directly on a string
1inflect.titleize('messages to store') // === 'Messages To Store' 2'messages to store'.titleize // === 'Messages To Store'
only if true
is passed while initiating
1var inflect = require('i')(true);
1inflect.pluralize('person'); // === 'people' 2inflect.pluralize('octopus'); // === 'octopi' 3inflect.pluralize('Hat'); // === 'Hats'
1inflect.singularize('people'); // === 'person' 2inflect.singularize('octopi'); // === 'octopus' 3inflect.singularize('Hats'); // === 'Hat'
1inflect.camelize('message_properties'); // === 'MessageProperties' 2inflect.camelize('message_properties', false); // === 'messageProperties'
1inflect.underscore('MessageProperties'); // === 'message_properties' 2inflect.underscore('messageProperties'); // === 'message_properties'
1inflect.humanize('message_id'); // === 'Message'
1inflect.dasherize('message_properties'); // === 'message-properties' 2inflect.dasherize('Message Properties'); // === 'Message Properties'
1inflect.titleize('message_properties'); // === 'Message Properties' 2inflect.titleize('message properties to keep'); // === 'Message Properties to Keep'
1inflect.demodulize('Message.Bus.Properties'); // === 'Properties'
1inflect.tableize('MessageBusProperty'); // === 'message_bus_properties'
1inflect.classify('message_bus_properties'); // === 'MessageBusProperty'
1inflect.foreign_key('MessageBusProperty'); // === 'message_bus_property_id' 2inflect.foreign_key('MessageBusProperty', false); // === 'message_bus_propertyid'
1inflect.ordinalize( '1' ); // === '1st'
We can use regexp in any of these custom rules
1inflect.inflections.plural('person', 'guys'); 2inflect.pluralize('person'); // === 'guys' 3inflect.singularize('guys'); // === 'guy'
1inflect.inflections.singular('guys', 'person') 2inflect.singularize('guys'); // === 'person' 3inflect.pluralize('person'); // === 'people'
1inflect.inflections.irregular('person', 'guys') 2inflect.pluralize('person'); // === 'guys' 3inflect.singularize('guys'); // === 'person'
1inflect.inflections.human(/^(.*)_cnt$/i, '$1_count'); 2inflect.humanize('jargon_cnt'); // === 'Jargon count'
1inflect.inflections.uncountable('oil') 2inflect.pluralize('oil'); // === 'oil' 3inflect.singularize('oil'); // === 'oil'
Here is a list of Contributors
I accept pull requests and guarantee a reply back within a day
MIT/X11
Report here. Guaranteed reply within a day.
Pavan Kumar Sunkara (pavan.sss1991@gmail.com)
7.5/10
Summary
inflect vulnerable to Inefficient Regular Expression Complexity
Affected Versions
< 0.3.7
Patched Versions
0.3.7
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 6/24 approved changesets -- score normalized to 2
Reason
project is archived
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More