{"_rev":"4-14dc8d2daaf117c03f157ed3fbd2ba9a","time":{"created":"2026-01-15T02:27:28.984Z","modified":"2026-01-15T02:27:29.466Z","0.0.4":"2026-01-10T17:43:51.309Z","0.0.5":"2026-01-15T02:27:29.225Z"},"_id":"@bedelightful/es6-template-strings","name":"@bedelightful/es6-template-strings","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.5":{"name":"@bedelightful/es6-template-strings","version":"0.0.5","description":"Template string engine","keywords":[],"repository":{"type":"git","url":"https://github.com/saashqdev/delightful/es6-template-strings"},"license":"MIT","author":{"name":"BeDelightful"},"type":"module","main":"dist/lib/index.js","directories":{"test":"tests"},"scripts":{"build":"npm run clean && tsup --config tsup.config.ts","clean":"rm -rf dist","dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"eslint ./src --ext ts,tsx --config .eslintrc.cjs","lint:fix":"eslint ./src --ext ts,tsx --config .eslintrc.cjs --fix && prettier --write ./src/**/*.{js,jsx,ts,tsx,md}","test":"npx jest --config=jest.config.js","test:watch":"npx jest --watch --config=jest.config.js"},"dependencies":{"esniff":"~1.1.0"},"devDependencies":{"@bedelightful/eslint-config":"~0.0.10","@jest/globals":"^29.7.0","@swc/core":"~1.11.11","@types/jest":"~29.5.12","@types/lodash-es":"~4.17.12","@types/node":"~10.11.0","jest":"^29.7.0","lodash-es":"~4.17.21","prettier":"^3.5.3","ts-jest":"^29.1.1","ts-node":"~7.0.1","tsup":"~8.0.2","typescript":"~5.0.0"},"engines":{"node":">=18.0.0"},"publishConfig":{"access":"public"},"module":"dist/es/index.js","typings":"dist/es/index.d.ts","lint-staged":{"./src/**/*.{ts,tsx}":["eslint --fix","prettier --write ./src/**/*.{js,jsx,ts,tsx,md}","git add"]},"_id":"@bedelightful/es6-template-strings@0.0.5","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-GGO22v9xr5yF8V1b03khHw/x/cQwvms8AwBPV2ojU6l5y8QbjzzJzw5cx/huCYM4Q+YnG50hCeQ+5HztZtfb1w==","shasum":"5d0d32010d0189b4db8b609cc00068aa56f69e19","tarball":"https://registry.npmjs.org/@bedelightful/es6-template-strings/-/es6-template-strings-0.0.5.tgz","fileCount":50,"unpackedSize":702469,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD42VisoSHA+mfCmfK0ZXY7kCGVkQtrWIbzsrxlENe6+wIhAJIFR8aArztHLNwzk60sfMDz6xdrhZDm0Nbhu77aV8uv"}]},"_npmUser":{"name":"gridworkz","email":"dave@gridworkz.com"},"maintainers":[{"name":"gridworkz","email":"dave@gridworkz.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/es6-template-strings_0.0.5_1768444049059_0.7250038695241028"},"_hasShrinkwrap":false}},"maintainers":[{"name":"gridworkz","email":"dave@gridworkz.com"}],"description":"Template string engine","keywords":[],"repository":{"type":"git","url":"https://github.com/saashqdev/delightful/es6-template-strings"},"author":{"name":"BeDelightful"},"license":"MIT","readme":"# @bedelightful/es6-template-strings\n\nES6 Template Strings Parser Engine\n\n## Overview\n\nThis package provides a template string parsing engine that supports ES6-style syntax. It allows you to interpolate variables and expressions within strings using the `${expression}` syntax.\n\n## Usage\n\n```typescript\nimport { resolveToString, resolveToArray } from \"@delightful/es6-template-strings\";\n\n// Basic usage\nconsole.log(resolveToString(\"hello ${name}\", { name: \"world\" }));\n// Output: \"hello world\"\n\n// Return array of template parts and substitutions\nconsole.log(resolveToArray(\"hello ${name}\", { name: \"world\" }));\n// Output: [\"hello \", \"world\"]\n```\n\n## Configuration Options\n\n| Option | Description | Type | Default | Required |\n|:------:|:----------:|:----:|:-------:|:--------:|\n| notation | Template syntax prefix | string | \"$\" | No |\n| notationStart | Template syntax start marker | string | \"{\" | No |\n| notationEnd | Template syntax end marker | string | \"}\" | No |\n| partial | Skip failed expressions instead of returning undefined | boolean | false | No |\n\n## Notes\n\n- When an expression cannot be resolved:\n  - If `partial: true`, the original `${expression}` string will be preserved\n  - If `partial: false` (default), undefined will be returned for that expression\n- The package handles nested expressions and escape sequences properly\n\n## Development\n\nTo set up the development environment:\n\n1. Clone the repository\n2. Install dependencies: `npm install`\n3. Build the package: `npm run build`\n4. Run tests: `npm test`\n\n## Iteration Process\n\nThe package follows semantic versioning:\n\n1. Bug fixes result in patch version increments\n2. New features that maintain backward compatibility result in minor version increments\n3. Breaking changes result in major version increments\n\nFor contributing:\n1. Fork the repository\n2. Create a feature branch\n3. Submit a pull request with detailed description of changes\n\n","readmeFilename":"README.md"}