npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@fetoolkit/utils

v2.1.0

Published

![](https://fejumvuajiwc28287693.gcdn.ntruss.com/fetoolkit/fetoolkit_thumbnail.png) (This thumbnail was created by Chat GPT)

Downloads

102

Readme

FEToolkit/Utils

(This thumbnail was created by Chat GPT)

English | 한국어

FEToolkit utils is a library that provides utility functions that can be used during feature development.

1. Getting Started

1-1. Installation

  • npm
    npm i @fetoolkit/utils
  • yarn
    yarn add @fetoolkit/utils
  • pnpm
    pnpm add @fetoolkit/utils

2. Features

2-1. Array

| Name | Description | Docs | | :-------- | :---------------------------------------------------------------------------------------- | :--------------------------------------: | | at | Return element in a particular index in an array.(include negative index like Python) | Document | | first | Return first element of array. | Document | | last | Return last element of array. | Document | | filter | Return filtered elements in array. | Document | | mapByKey | Return array of elements that mapped to particular key in object array. | Document | | chunk | Chunk an array to a specific length. | Document | | count | Count a length of array. | Document | | countBy | Classify and counting number of array values according to result of mapper Function. | Document | | countOf | count a number of array values satisfied by specific condition. | Document | | find | return first element satisfied by specific condition. | Document | | findIndex | return first element's index satisfied by specific condition. | Document | | groupBy | classify elements in an array according to given key generation function. | Document | | isSameArr | chaek that whether the elements in both arrays are same until the order. | Document | | uniqArray | returns a new array that removes duplicate elements. | Document |

2-2. Number

| Name | Description | Docs | | :---------------- | :------------------------------------------------ | :-----------------------------------------------: | | commaizeNumber | generate number seperated by comma. | Document | | decommaizeNumber | remove comma from number | Document | | formatPhoneNumber | convert a phone number into a hyphen type. | Document | | percent | Calculate the result of division as a percentage. | Document | | sum | add all the numbers of values in an array. | Document | | isInteger | check the value is integer. | Document | | isPositiveInteger | check the value is positive integer.(except 0) | Document | | isNegativeInteger | check the value is negative integer.(except 0) | Document |

2-3. Mask

Notice

In the case of these functions, they play some role as utility functions, but they were judged to be insufficient in usability as utility functions that can only be used in Korea. Also, there was a function that provided the same function in toth-slash, so we decided to process it Deprecated. Please note that the function will continue to be provided, but no updates will be provided.

| Name | Description | Docs | | :---------------------------------------------------------------- | :--------------------------------------------------------------------- | :------: | | ~~maskName~~Deprecated | ~~masking user name~~Deprecated | Document | | ~~maskPhoneNumber~~Deprecated | ~~masking phone number~~Deprecated | Document |

2-4. Object

| Name | Description | Docs | | :-------- | :--------------------------------------------------------------------- | :---------------------------------------: | | forIn | call iteratee function for each attribute while traversing the object. | Document | | keys | return keys of object. | Document | | values | return values of object. | Document | | omit | generates a new object that omits a particular key from the object. | Document | | pick | creates a new object containing only a specific key in the object. | Document | | isSameObj | check that whether both object is same | Document |

2-5. Utility Types

| Name | Description | Docs | | :------------- | :------------------------------------------------------- | :------------------------------------------: | | PartialPath | Make specific properties optional | Document | | RequiredPath | Make specific properties required | Document | | Path | Convert object type keys to literal types | Document | | TypeOfProperty | Return the type of a specific property in an object type | Document |