File
Blob: src/node/querystring.ts
| 1 | // Copyright (c) 2017-2022 Cloudflare, Inc. |
| 2 | // Licensed under the Apache 2.0 license found in the LICENSE file or at: |
| 3 | // https://opensource.org/licenses/Apache-2.0 |
| 4 | // Copyright Joyent and Node contributors. All rights reserved. MIT license. |
| 5 | |
| 6 | import { |
| 7 | escape, |
| 8 | parse, |
| 9 | stringify, |
| 10 | unescape, |
| 11 | unescapeBuffer, |
| 12 | } from 'node-internal:internal_querystring'; |
| 13 | |
| 14 | export const encode = stringify; |
| 15 | export const decode = parse; |
| 16 | |
| 17 | export { escape, parse, stringify, unescape, unescapeBuffer }; |
| 18 | |
| 19 | export default { |
| 20 | decode, |
| 21 | encode, |
| 22 | escape, |
| 23 | parse, |
| 24 | stringify, |
| 25 | unescape, |
| 26 | unescapeBuffer, |
| 27 | }; |