### Setup project for development Source: https://github.com/bevry/textextensions/blob/master/CONTRIBUTING.md Run this command after cloning the repository to initialize the development environment. ```bash npm run our:setup ``` -------------------------------- ### Install and Import with npm Source: https://github.com/bevry/textextensions/blob/master/README.md Commands to install the package via npm and import it using either ES modules or CommonJS syntax. ```bash npm install --save textextensions ``` ```javascript import pkg from ('textextensions') ``` ```javascript const pkg = require('textextensions').default ``` -------------------------------- ### Changelog entry format Source: https://github.com/bevry/textextensions/blob/master/CONTRIBUTING.md Example format for adding a new version entry to the project changelog. ```markdown ## v6.29.0 2013 April 1 - Progress on [issue #474](https://github.com/docpad/docpad/issues/474) - DocPad will now set permissions based on the process's ability - Thanks to [Avi Deitcher](https://github.com/deitch), [Stephan Lough](https://github.com/stephanlough) for [issue #165](https://github.com/docpad/docpad/issues/165) - Updated dependencies ``` -------------------------------- ### Verify tests and prepare release Source: https://github.com/bevry/textextensions/blob/master/CONTRIBUTING.md Run tests to ensure stability and prepare the project for publishing. ```bash npm test ``` ```bash npm run our:release:prepare ``` -------------------------------- ### Compile changes and run tests Source: https://github.com/bevry/textextensions/blob/master/CONTRIBUTING.md Use these commands to build the project and verify changes during development. ```bash npm run our:compile ``` ```bash npm test ``` -------------------------------- ### Import with unpkg Source: https://github.com/bevry/textextensions/blob/master/README.md Load the package in a browser environment using the unpkg CDN. ```html ``` -------------------------------- ### Finalize and publish release Source: https://github.com/bevry/textextensions/blob/master/CONTRIBUTING.md Commands to prepare the final release and publish it to npm and git. ```bash npm run our:release:prepare ``` ```bash npm run our:release ``` -------------------------------- ### Import with Skypack Source: https://github.com/bevry/textextensions/blob/master/README.md Load the package in a browser environment using the Skypack CDN. ```html ``` -------------------------------- ### Import with jspm Source: https://github.com/bevry/textextensions/blob/master/README.md Load the package in a browser environment using the jspm CDN. ```html ``` -------------------------------- ### Import with Deno Source: https://github.com/bevry/textextensions/blob/master/README.md Import the package directly into a Deno project using the unpkg URL. ```typescript import pkg from 'https://unpkg.com/textextensions@^6.11.0/edition-deno/index.ts' ``` -------------------------------- ### Switch to master branch Source: https://github.com/bevry/textextensions/blob/master/CONTRIBUTING.md Command to return to the master branch before merging changes. ```bash git checkout master ``` -------------------------------- ### Create a new branch Source: https://github.com/bevry/textextensions/blob/master/CONTRIBUTING.md Commands to switch to the master branch and create a new feature branch for your changes. ```bash git checkout master; git checkout -b your-new-branch ``` ```bash git push origin your-new-branch ``` -------------------------------- ### Import textextensions in JavaScript Source: https://github.com/bevry/textextensions/blob/master/README.md Use the require function to access the list of text extensions in a JavaScript environment. ```javascript const list = require('textextensions').default console.log(list) ``` -------------------------------- ### Import textextensions in TypeScript Source: https://github.com/bevry/textextensions/blob/master/README.md Use the import statement to access the list of text extensions in a TypeScript environment. ```typescript import list from 'textextensions' console.log(list) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.