string-methods/
│
├── src/
│ ├── index.js # Main entry point for the library
│ ├── capitalize.js # Implementation of capitalize()
│ ├── caseFold.js # Implementation of caseFold()
│ ├── center.js # Implementation of center()
│ ├── count.js # Implementation of count()
│ ├── encode.js # Implementation of encode()
│ ├── endsWith.js # Implementation of endsWith()
│ ├── expandTabs.js # Implementation of expandTabs()
│ ├── find.js # Implementation of find()
│ ├── format.js # Implementation of format()
│ ├── isAlnum.js # Implementation of isAlnum()
│ ├── isAlpha.js # Implementation of isAlpha()
│ ├── isAscii.js # Implementation of isAscii()
│ ├── isDecimal.js # Implementation of isDecimal()
│ ├── isDigit.js # Implementation of isDigit()
│ ├── isIdentifier.js # Implementation of isIdentifier()
│ ├── isLower.js # Implementation of isLower()
│ ├── isNumeric.js # Implementation of isNumeric()
│ ├── isSpace.js # Implementation of isSpace()
│ ├── isTitle.js # Implementation of isTitle()
│ ├── isUpper.js # Implementation of isUpper()
│ ├── join.js # Implementation of join()
│ ├── leftJustify.js # Implementation of leftJustify()
│ ├── lower.js # Implementation of lower()
│ ├── leftStrip.js # Implementation of leftStrip()
│ ├── makeTrans.js # Implementation of makeTrans()
│ ├── partition.js # Implementation of partition()
│ ├── replace.js # Implementation of replace()
│ ├── rightFind.js # Implementation of rightFind()
│ ├── rightIndex.js # Implementation of rightIndex()
│ ├── rightJustify.js # Implementation of rightJustify()
│ ├── rightPartition.js # Implementation of rightPartition()
│ ├── rightSplit.js # Implementation of rightSplit()
│ ├── rightStrip.js # Implementation of rightStrip()
│ ├── split.js # Implementation of split()
│ ├── splitLines.js # Implementation of splitLines()
│ ├── startsWith.js # Implementation of startsWith()
│ ├── strip.js # Implementation of strip()
│ ├── swapCase.js # Implementation of swapCase()
│ ├── title.js # Implementation of title()
│ ├── upper.js # Implementation of upper()
│ └── zeroFill.js # Implementation of zeroFill()
│
├── tests/
│ ├── capitalize.test.js # Unit tests for capitalize()
│ ├── caseFold.test.js # Unit tests for caseFold()
│ ├── center.test.js # Unit tests for center()
│ ├── count.test.js # Unit tests for count()
│ ├── encode.test.js # Unit tests for encode()
│ ├── endsWith.test.js # Unit tests for endsWith()
│ ├── expandTabs.test.js # Unit tests for expandTabs()
│ ├── find.test.js # Unit tests for find()
│ ├── format.test.js # Unit tests for format()
│ ├── isAlnum.test.js # Unit tests for isAlnum()
│ ├── isAlpha.test.js # Unit tests for isAlpha()
│ ├── isAscii.test.js # Unit tests for isAscii()
│ ├── isDecimal.test.js # Unit tests for isDecimal()
│ ├── isDigit.test.js # Unit tests for isDigit()
│ ├── isIdentifier.test.js # Unit tests for isIdentifier()
│ ├── isLower.test.js # Unit tests for isLower()
│ ├── isNumeric.test.js # Unit tests for isNumeric()
│ ├── isSpace.test.js # Unit tests for isSpace()
│ ├── isTitle.test.js # Unit tests for isTitle()
│ ├── isUpper.test.js # Unit tests for isUpper()
│ ├── join.test.js # Unit tests for join()
│ ├── leftJustify.test.js # Unit tests for leftJustify()
│ ├── lower.test.js # Unit tests for lower()
│ ├── leftStrip.test.js # Unit tests for leftStrip()
│ ├── makeTrans.test.js # Unit tests for makeTrans()
│ ├── partition.test.js # Unit tests for partition()
│ ├── replace.test.js # Unit tests for replace()
│ ├── rightFind.test.js # Unit tests for rightFind()
│ ├── rightIndex.test.js # Unit tests for rightIndex()
│ ├── rightJustify.test.js # Unit tests for rightJustify()
│ ├── rightPartition.test.js# Unit tests for rightPartition()
│ ├── rightSplit.test.js # Unit tests for rightSplit()
│ ├── rightStrip.test.js # Unit tests for rightStrip()
│ ├── split.test.js # Unit tests for split()
│ ├── splitLines.test.js # Unit tests for splitLines()
│ ├── startsWith.test.js # Unit tests for startsWith()
│ ├── strip.test.js # Unit tests for strip()
│ ├── swapCase.test.js # Unit tests for swapCase()
│ ├── title.test.js # Unit tests for title()
│ ├── upper.test.js # Unit tests for upper()
│ └── zeroFill.test.js
│
├── package.json # Project metadata and dependencies
├── README.md # Documentation for your library
├── LICENSE # License file (e.g., MIT)
└── .gitignore # Git ignore file