Socket
Socket
Sign inDemoInstall

@std-uritemplate/std-uritemplate

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@std-uritemplate/std-uritemplate - npm Package Compare versions

Comparing version 0.0.50 to 0.0.52

2

package.json
{
"name": "@std-uritemplate/std-uritemplate",
"version": "0.0.50",
"version": "0.0.52",
"description": "std-uritemplate implementation for TS/JS",

@@ -5,0 +5,0 @@ "scripts": {

@@ -13,2 +13,3 @@ # std-uritemplate

[![Packagist Version](http://poser.pugx.org/stduritemplate/stduritemplate/v?style=flat)](https://packagist.org/packages/stduritemplate/stduritemplate)
[![Pub Version](https://img.shields.io/pub/v/std_uritemplate)](https://pub.dev/packages/std_uritemplate)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/std-uritemplate/std-uritemplate/blob/main/Contributing.md)

@@ -30,2 +31,3 @@

| Swift | ✅ | ❌ | ✅ |
| Dart | ✅ | ❌ | ✅ |

@@ -204,2 +206,29 @@ ## Usage

### Dart
Install the package:
```bash
dart pub add std_uritemplate
```
for flutter:
```bash
flutter pub add std_uritemplate
```
and use it:
```dart
import 'package:std_uritemplate/std_uritemplate.dart';
void main() {
final template = 'https://example.com/{var}';
final substitutions = {'var': 'value'};
print(StdUriTemplate.expand(template, substitutions));
}
```
## Design decisions

@@ -206,0 +235,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc